#EBA51B

Closest named color: Squash (#F2AB15). oklch(77% 0.156 77), rgb(235, 165, 27).

Aa

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

About this color

#EBA51B is a medium-light, vivid orange. In OKLCH its lightness is 77%, its chroma 0.156 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.020 away. Black text reads best on it, at 9.93:1.

Hue familyOranges
Lightnessmedium-light (77%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text9.93:1
White text2.11:1

Values

HEX#EBA51B
RGBrgb(235, 165, 27)
HSLhsl(40, 84%, 51%)
OKLCHoklch(77% 0.156 77)

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 #EBA51B 2.11:1 Fails Lc -45.8 Large or bold text, headings
Black text on #EBA51B 9.93:1 AAA Lc 62.8 Content text, not long reading
#EBA51B text on white 2.11:1 Fails Lc 41.1 Non-text elements, placeholder text
#EBA51B text on black 9.93:1 AAA Lc -61.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

    #FEF4E6

    oklch(97.1% 0.021 76.5)

  2. Step 100

    100

    #FBE7C9

    oklch(93.6% 0.045 78.1)

  3. Step 200

    200

    #FAD298

    oklch(88.5% 0.087 76.5)

  4. Step 300

    300 (this color)

    #EBA51B

    oklch(77% 0.156 77)

  5. Step 400

    400

    #D39200

    oklch(70.6% 0.148 77.1)

  6. Step 500

    500

    #B67D00

    oklch(63.2% 0.132 76.8)

  7. Step 600

    600

    #996900

    oklch(55.7% 0.116 77.3)

  8. Step 700

    700

    #815800

    oklch(49.2% 0.103 77.4)

  9. Step 800

    800

    #6A4700

    oklch(42.6% 0.089 76.7)

  10. Step 900

    900

    #593B00

    oklch(37.8% 0.079 76.7)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#EBA51B 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)#BFA8000.072
Deuteranopia (no green cones)#CFB9230.063
Tritanopia (no blue cones)#FF928D0.132
Achromatopsia (no color)#B2B2B20.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #EBA51B

    #EBA51B

    oklch(77% 0.156 77)

  • #83B6FF

    #83B6FF

    oklch(77% 0.119 257.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EBA51B

    #EBA51B

    oklch(77% 0.156 77)

  • #FF945D

    #FF945D

    oklch(76.9% 0.147 46.9)

  • #C0BA26

    #C0BA26

    oklch(77% 0.156 107.1)

Open the analogous palette in the generator

Split complementary

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

  • #EBA51B

    #EBA51B

    oklch(77% 0.156 77)

  • #00C6FD

    #00C6FD

    oklch(77.1% 0.149 226.8)

  • #AFA8FF

    #AFA8FF

    oklch(77.1% 0.123 286.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EBA51B

    #EBA51B

    oklch(77% 0.156 77)

  • #00CDD1

    #00CDD1

    oklch(76.9% 0.131 197.3)

  • #DC93F5

    #DC93F5

    oklch(77.1% 0.155 317.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EBA51B

    #EBA51B

    oklch(77% 0.156 77)

  • #12D39F

    #12D39F

    oklch(77% 0.156 166.9)

  • #83B6FF

    #83B6FF

    oklch(77% 0.119 257.4)

  • #FA88C7

    #FA88C7

    oklch(76.9% 0.156 347.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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