#799218

Closest named color: Dark Yellow Green (#728F02). oklch(61.9% 0.141 121.4), rgb(121, 146, 24).

Aa

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

About this color

#799218 is a medium-dark, vivid yellow. In OKLCH its lightness is 62%, its chroma 0.141 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.015 away. Black text reads best on it, at 5.93:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromavivid (0.141)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.93:1
White text3.53:1

Values

HEX#799218
RGBrgb(121, 146, 24)
HSLhsl(72, 72%, 33%)
OKLCHoklch(61.9% 0.141 121.4)

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 #799218 3.53:1 AA large text Lc -68.3 Content text, not long reading
Black text on #799218 5.93:1 AA Lc 41.3 Non-text elements, placeholder text
#799218 text on white 3.53:1 AA large text Lc 62.8 Content text, not long reading
#799218 text on black 5.93:1 AA Lc -38.9 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  3. Step 200

    200

    #D5DEC2

    oklch(88.6% 0.039 121.7)

  4. Step 300

    300

    #B9C896

    oklch(80.9% 0.069 121.5)

  5. Step 400

    400

    #96AB59

    oklch(70.6% 0.111 121.1)

  6. Step 500

    500 (this color)

    #799218

    oklch(61.9% 0.141 121.4)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #222B05

    oklch(27.1% 0.059 122)

Export this scale for Tailwind in the Tailwind colors tool

#799218 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)#9B89000.052
Deuteranopia (no green cones)#9888250.055
Tritanopia (no blue cones)#808A7C0.119
Achromatopsia (no color)#8888880.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #799218

    #799218

    oklch(61.9% 0.141 121.4)

  • #956FCC

    #956FCC

    oklch(61.9% 0.141 301.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #799218

    #799218

    oklch(61.9% 0.141 121.4)

  • #A28200

    #A28200

    oklch(61.9% 0.127 91.4)

  • #329D58

    #329D58

    oklch(61.8% 0.141 151.4)

Open the analogous palette in the generator

Split complementary

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

  • #799218

    #799218

    oklch(61.9% 0.141 121.4)

  • #687EDA

    #687EDA

    oklch(61.9% 0.141 271.6)

  • #B563AC

    #B563AC

    oklch(61.9% 0.141 331.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #799218

    #799218

    oklch(61.9% 0.141 121.4)

  • #118ED2

    #118ED2

    oklch(61.9% 0.141 241.3)

  • #C85D80

    #C85D80

    oklch(61.9% 0.141 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #799218

    #799218

    oklch(61.9% 0.141 121.4)

  • #0096AB

    #0096AB

    oklch(61.8% 0.108 212)

  • #956FCC

    #956FCC

    oklch(61.9% 0.141 301.3)

  • #CD614E

    #CD614E

    oklch(62% 0.141 31.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #799218 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.