#B79D2E

Closest named color: Ocher (#BF9B0C). oklch(70% 0.128 95.4), rgb(183, 157, 46).

Aa

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

About this color

#B79D2E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.128 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.016 away. Black text reads best on it, at 7.87:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.87:1
White text2.66:1

Values

HEX#B79D2E
RGBrgb(183, 157, 46)
HSLhsl(49, 60%, 45%)
OKLCHoklch(70% 0.128 95.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 #B79D2E 2.66:1 Fails Lc -56.9 Large or bold text, headings
Black text on #B79D2E 7.87:1 AAA Lc 52.3 Large or bold text, headings
#B79D2E text on white 2.66:1 Fails Lc 51.7 Large or bold text, headings
#B79D2E text on black 7.87:1 AAA Lc -50.2 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EEEAD9

    oklch(93.6% 0.023 96)

  3. Step 200

    200

    #E2D9B9

    oklch(88.4% 0.044 94.1)

  4. Step 300

    300

    #D0C185

    oklch(80.9% 0.08 95.8)

  5. Step 400

    400 (this color)

    #B79D2E

    oklch(70% 0.128 95.4)

  6. Step 500

    500

    #A28800

    oklch(63.2% 0.13 95.4)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#B79D2E 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)#AE9A1B0.020
Deuteranopia (no green cones)#B4A2350.013
Tritanopia (no blue cones)#C690870.118
Achromatopsia (no color)#9E9E9E0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #B79D2E

    #B79D2E

    oklch(70% 0.128 95.4)

  • #8897ED

    #8897ED

    oklch(70% 0.127 275.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B79D2E

    #B79D2E

    oklch(70% 0.128 95.4)

  • #D48C3D

    #D48C3D

    oklch(69.9% 0.128 65.2)

  • #8CAC4D

    #8CAC4D

    oklch(70% 0.128 125.1)

Open the analogous palette in the generator

Split complementary

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

  • #B79D2E

    #B79D2E

    oklch(70% 0.128 95.4)

  • #52A5E9

    #52A5E9

    oklch(69.9% 0.129 245.8)

  • #B189DE

    #B189DE

    oklch(70% 0.128 305)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B79D2E

    #B79D2E

    oklch(70% 0.128 95.4)

  • #00B1CF

    #00B1CF

    oklch(70% 0.124 215.6)

  • #CF7EBD

    #CF7EBD

    oklch(69.9% 0.128 335.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B79D2E

    #B79D2E

    oklch(70% 0.128 95.4)

  • #00B7A9

    #00B7A9

    oklch(70.1% 0.123 185.2)

  • #8897ED

    #8897ED

    oklch(70% 0.127 275.1)

  • #E07A93

    #E07A93

    oklch(70% 0.129 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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