#E2C84F#E2C84F

#E2C84F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.141 H 97.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#E2C84F
RGBrgb(226, 200, 79)
HSLhsl(49, 72%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 11.5%, 65%, 11.4%)
CIE-LABlab(80.76, -4.43, 61.77)
CIE-LCHlch(80.76, 61.93, 94.10°)
OKLaboklab(83.27% -0.0173 0.1399)
OKLCHoklch(83.27% 0.141 97)
XYZxyz(53.4320, 58.0444, 15.7849)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C84F #4F69E2
analogous
#E27F4F #E2C84F #B2E24F
triadic
#E2C84F #4FE2C8 #C84FE2
tetradic
#E2C84F #4FE27F #4F69E2 #E24FB2
square
#E2C84F #4FE27F #4F69E2 #E24FB2
split-complementary
#E2C84F #4FB2E2 #7F4FE2
monochromatic
#9D861A #D1B222 #E2C84F #EBD884 #F3E9B8

Accessibility & contrast

On white

1.67
#E2C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#E2C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C84F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C84F#FFFFFF#000000##000000
##E2C84F1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#F3BAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c84f;
/* rgb */ color: rgb(226, 200, 79);
/* oklch */ color: oklch(83.3% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#efd886',
    500: '#e2c84f',
    950: '#000000',
  },
}
SCSS
$custom: #e2c84f;
$custom-light: #efd886;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c84f",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 49.388,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8327,
    "c": 0.14099,
    "h": 97
  },
  "luminance": 0.58042
}

Semantic roles & 50–950 ramp

primary
#E2C84F
secondary
#3548A0
accent
#59EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C84F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E2C84F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva