#E6C342

Closest named color: Golden (#F5BF03). oklch(82.5% 0.147 93.4), rgb(230, 195, 66).

Aa

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

About this color

#E6C342 is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.147 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Golden (#F5BF03), ΔE 0.027 away. Black text reads best on it, at 12.24:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameGolden (#F5BF03)
Black text12.24:1
White text1.71:1

Values

HEX#E6C342
RGBrgb(230, 195, 66)
HSLhsl(47, 77%, 58%)
OKLCHoklch(82.5% 0.147 93.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 #E6C342 1.71:1 Fails Lc -34.5 Non-text elements, placeholder text
Black text on #E6C342 12.24:1 AAA Lc 73.1 Content text, not long reading
#E6C342 text on white 1.71:1 Fails Lc 30.7 Non-text elements, placeholder text
#E6C342 text on black 12.24:1 AAA Lc -72.1 Content text, not long reading

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

  1. Step 50

    50

    #FAF5E7

    oklch(97% 0.019 90.5)

  2. Step 100

    100

    #F3EACA

    oklch(93.6% 0.043 94.1)

  3. Step 200

    200

    #EBD99B

    oklch(88.6% 0.082 93.8)

  4. Step 300

    300 (this color)

    #E6C342

    oklch(82.5% 0.147 93.4)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#E6C342 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)#D8C02F0.027
Deuteranopia (no green cones)#E0CA490.018
Tritanopia (no blue cones)#F8B4A90.134
Achromatopsia (no color)#C6C6C60.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #E6C342

    #E6C342

    oklch(82.5% 0.147 93.4)

  • #B3C2FF

    #B3C2FF

    oklch(82.4% 0.088 273.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E6C342

    #E6C342

    oklch(82.5% 0.147 93.4)

  • #FFB36B

    #FFB36B

    oklch(82.5% 0.125 63.1)

  • #B3D563

    #B3D563

    oklch(82.4% 0.146 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #E6C342

    #E6C342

    oklch(82.5% 0.147 93.4)

  • #8FCDFF

    #8FCDFF

    oklch(82.5% 0.095 243.6)

  • #D4B5FF

    #D4B5FF

    oklch(82.5% 0.107 303.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E6C342

    #E6C342

    oklch(82.5% 0.147 93.4)

  • #00DDFE

    #00DDFE

    oklch(82.5% 0.145 213.6)

  • #FEA0EE

    #FEA0EE

    oklch(82.5% 0.147 333.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E6C342

    #E6C342

    oklch(82.5% 0.147 93.4)

  • #00E4CF

    #00E4CF

    oklch(82.5% 0.147 183.2)

  • #B3C2FF

    #B3C2FF

    oklch(82.4% 0.088 273.6)

  • #FFA9BF

    #FFA9BF

    oklch(82.5% 0.104 2.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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