#747F2A

Closest named color: Swamp (#698339). oklch(57% 0.109 116.3), rgb(116, 127, 42).

Aa

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

About this color

#747F2A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.109 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.018 away. Black text reads best on it, at 4.81:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.81:1
White text4.36:1

Values

HEX#747F2A
RGBrgb(116, 127, 42)
HSLhsl(68, 50%, 33%)
OKLCHoklch(57% 0.109 116.3)

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 #747F2A 4.36:1 AA large text Lc -75.6 Fine for body text
Black text on #747F2A 4.81:1 AA Lc 33.9 Non-text elements, placeholder text
#747F2A text on white 4.36:1 AA large text Lc 70.2 Content text, not long reading
#747F2A text on black 4.81:1 AA Lc -31.5 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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DCC8

    oklch(88.6% 0.027 116.1)

  4. Step 300

    300

    #BEC5A1

    oklch(80.8% 0.05 116.5)

  5. Step 400

    400

    #9DA76E

    oklch(70.6% 0.079 116.6)

  6. Step 500

    500

    #869146

    oklch(63.1% 0.1 116.3)

  7. Step 600

    600 (this color)

    #747F2A

    oklch(57% 0.109 116.3)

  8. Step 700

    700

    #5E6717

    oklch(49% 0.101 115.9)

  9. Step 800

    800

    #4D5417

    oklch(42.6% 0.083 115.6)

  10. Step 900

    900

    #40461A

    oklch(37.8% 0.065 116.1)

  11. Step 950

    950

    #252910

    oklch(27% 0.042 116.8)

Export this scale for Tailwind in the Tailwind colors tool

#747F2A 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)#88781F0.033
Deuteranopia (no green cones)#8779300.035
Tritanopia (no blue cones)#7B786E0.095
Achromatopsia (no color)#7979790.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #747F2A

    #747F2A

    oklch(57% 0.109 116.3)

  • #7E69B0

    #7E69B0

    oklch(57.1% 0.109 296.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #747F2A

    #747F2A

    oklch(57% 0.109 116.3)

  • #947217

    #947217

    oklch(57% 0.109 86.1)

  • #48884F

    #48884F

    oklch(56.9% 0.109 146.3)

Open the analogous palette in the generator

Split complementary

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

  • #747F2A

    #747F2A

    oklch(57% 0.109 116.3)

  • #5975B8

    #5975B8

    oklch(57.1% 0.109 265.9)

  • #985F99

    #985F99

    oklch(56.9% 0.109 326.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #747F2A

    #747F2A

    oklch(57% 0.109 116.3)

  • #2580AF

    #2580AF

    oklch(57% 0.109 236.5)

  • #A95A79

    #A95A79

    oklch(57% 0.109 356.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #747F2A

    #747F2A

    oklch(57% 0.109 116.3)

  • #008794

    #008794

    oklch(57% 0.098 206.7)

  • #7E69B0

    #7E69B0

    oklch(57.1% 0.109 296.4)

  • #AF5C54

    #AF5C54

    oklch(57.1% 0.11 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #747F2A 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.