#E2C94F#E2C94F

#E2C94F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.142 H 97.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E2C94F
RGBrgb(226, 201, 79)
HSLhsl(50, 72%, 60%)
HSVhsv(50, 65%, 89%)
CMYKcmyk(0%, 11.1%, 65%, 11.4%)
CIE-LABlab(81.02, -4.94, 62.04)
CIE-LCHlch(81.02, 62.24, 94.55°)
OKLaboklab(83.47% -0.0188 0.1405)
OKLCHoklch(83.47% 0.142 97.6)
XYZxyz(53.6644, 58.5091, 15.8623)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C94F #4F68E2
analogous
#E2804F #E2C94F #B1E24F
triadic
#E2C94F #4FE2C9 #C94FE2
tetradic
#E2C94F #4FE280 #4F68E2 #E24FB1
square
#E2C94F #4FE280 #4F68E2 #E24FB1
split-complementary
#E2C94F #4FB1E2 #804FE2
monochromatic
#9D871A #D1B422 #E2C94F #EBD984 #F3E9B8

Accessibility & contrast

On white

1.65
#E2C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E2C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C94F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C94F#FFFFFF#000000##000000
##E2C94F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#F3BBAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c94f;
/* rgb */ color: rgb(226, 201, 79);
/* oklch */ color: oklch(83.5% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#efd986',
    500: '#e2c94f',
    950: '#000000',
  },
}
SCSS
$custom: #e2c94f;
$custom-light: #efd986;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c94f",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 49.796,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83473,
    "c": 0.14175,
    "h": 97.6
  },
  "luminance": 0.58507
}

Semantic roles & 50–950 ramp

primary
#E2C94F
secondary
#3547A0
accent
#58EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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