#7B8914

Closest named color: Swamp Green (#748500). oklch(59.8% 0.132 116.9), rgb(123, 137, 20).

Aa

Black text reads best on this color (5.43:1).

About this color

#7B8914 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.132 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.017 away. Black text reads best on it, at 5.43:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.43:1
White text3.86:1

Values

HEX#7B8914
RGBrgb(123, 137, 20)
HSLhsl(67, 75%, 31%)
OKLCHoklch(59.8% 0.132 116.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7B8914 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #7B8914 5.43:1 AA Lc 38.1 Non-text elements, placeholder text
#7B8914 text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#7B8914 text on black 5.43:1 AA Lc -35.7 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDE

    oklch(93.7% 0.019 116.6)

  3. Step 200

    200

    #D7DDC2

    oklch(88.6% 0.037 117.3)

  4. Step 300

    300

    #BDC797

    oklch(81% 0.066 117.4)

  5. Step 400

    400

    #9CA95C

    oklch(70.7% 0.103 117)

  6. Step 500

    500 (this color)

    #7B8914

    oklch(59.8% 0.132 116.9)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4701

    oklch(37.8% 0.086 116.8)

  11. Step 950

    950

    #252A06

    oklch(27.1% 0.055 117)

Export this scale for Tailwind in the Tailwind colors tool

#7B8914 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9381000.040
Deuteranopia (no green cones)#9282210.042
Tritanopia (no blue cones)#8381740.113
Achromatopsia (no color)#8282820.132

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7B8914

    #7B8914

    oklch(59.8% 0.132 116.9)

  • #896DC4

    #896DC4

    oklch(59.9% 0.131 297.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B8914

    #7B8914

    oklch(59.8% 0.132 116.9)

  • #9F7A00

    #9F7A00

    oklch(59.9% 0.122 87.3)

  • #41944E

    #41944E

    oklch(59.8% 0.132 146.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7B8914

    #7B8914

    oklch(59.8% 0.132 116.9)

  • #5C7BCE

    #5C7BCE

    oklch(59.8% 0.132 267)

  • #A861A8

    #A861A8

    oklch(59.8% 0.131 327.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B8914

    #7B8914

    oklch(59.8% 0.132 116.9)

  • #0089C3

    #0089C3

    oklch(59.7% 0.131 237.2)

  • #BC5B81

    #BC5B81

    oklch(60% 0.131 357.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B8914

    #7B8914

    oklch(59.8% 0.132 116.9)

  • #00909F

    #00909F

    oklch(59.7% 0.103 207.7)

  • #896DC4

    #896DC4

    oklch(59.9% 0.131 297.1)

  • #C25D54

    #C25D54

    oklch(59.9% 0.131 26.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7B8914, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7B8914 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.