#768C07

Closest named color: Dark Yellow Green (#728F02). oklch(60.1% 0.141 120.2), rgb(118, 140, 7).

Aa

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

About this color

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

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

Values

HEX#768C07
RGBrgb(118, 140, 7)
HSLhsl(70, 90%, 29%)
OKLCHoklch(60.1% 0.141 120.2)

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 #768C07 3.80:1 AA large text Lc -70.9 Content text, not long reading
Black text on #768C07 5.52:1 AA Lc 38.7 Non-text elements, placeholder text
#768C07 text on white 3.80:1 AA large text Lc 65.4 Content text, not long reading
#768C07 text on black 5.52:1 AA Lc -36.3 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

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D5DDC1

    oklch(88.4% 0.038 120.2)

  4. Step 300

    300

    #BAC896

    oklch(80.9% 0.069 120.7)

  5. Step 400

    400

    #97AB58

    oklch(70.7% 0.111 120.5)

  6. Step 500

    500 (this color)

    #768C07

    oklch(60.1% 0.141 120.2)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A04

    oklch(26.9% 0.058 119.5)

Export this scale for Tailwind in the Tailwind colors tool

#768C07 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)#9683000.052
Deuteranopia (no green cones)#93831B0.052
Tritanopia (no blue cones)#7E84760.119
Achromatopsia (no color)#8383830.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #768C07

    #768C07

    oklch(60.1% 0.141 120.2)

  • #8F6AC7

    #8F6AC7

    oklch(60.1% 0.141 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #768C07

    #768C07

    oklch(60.1% 0.141 120.2)

  • #9D7C00

    #9D7C00

    oklch(60.1% 0.123 90)

  • #309751

    #309751

    oklch(60% 0.141 150.3)

Open the analogous palette in the generator

Split complementary

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

  • #768C07

    #768C07

    oklch(60.1% 0.141 120.2)

  • #6179D4

    #6179D4

    oklch(60% 0.141 270.6)

  • #AF5EA8

    #AF5EA8

    oklch(60.2% 0.141 330.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #768C07

    #768C07

    oklch(60.1% 0.141 120.2)

  • #0089CA

    #0089CA

    oklch(60.1% 0.138 240.2)

  • #C2587D

    #C2587D

    oklch(60.2% 0.141 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #768C07

    #768C07

    oklch(60.1% 0.141 120.2)

  • #0091A3

    #0091A3

    oklch(60.2% 0.104 210.1)

  • #8F6AC7

    #8F6AC7

    oklch(60.1% 0.141 300.6)

  • #C75B4B

    #C75B4B

    oklch(60.2% 0.141 30.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #768C07 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.