#E2CA4F#E2CA4F

#E2CA4F is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.143 H 98.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E2CA4F
RGBrgb(226, 202, 79)
HSLhsl(50, 72%, 60%)
HSVhsv(50, 65%, 89%)
CMYKcmyk(0%, 10.6%, 65%, 11.4%)
CIE-LABlab(81.28, -5.45, 62.31)
CIE-LCHlch(81.28, 62.55, 95.00°)
OKLaboklab(83.68% -0.0202 0.1411)
OKLCHoklch(83.68% 0.143 98.2)
XYZxyz(53.8982, 58.9768, 15.9403)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA4F #4F67E2
analogous
#E2814F #E2CA4F #B1E24F
triadic
#E2CA4F #4FE2CA #CA4FE2
tetradic
#E2CA4F #4FE281 #4F67E2 #E24FB1
square
#E2CA4F #4FE281 #4F67E2 #E24FB1
split-complementary
#E2CA4F #4FB1E2 #814FE2
monochromatic
#9D871A #D1B522 #E2CA4F #EBDA84 #F3EAB8

Accessibility & contrast

On white

1.64
#E2CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E2CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA4F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA4F#FFFFFF#000000##000000
##E2CA4F1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#F3BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca4f;
/* rgb */ color: rgb(226, 202, 79);
/* oklch */ color: oklch(83.7% 0.143 98.2);
Tailwind
colors: {
  custom: {
    50: '#efd986',
    500: '#e2ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca4f;
$custom-light: #efd986;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca4f",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 50.204,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83678,
    "c": 0.14252,
    "h": 98.2
  },
  "luminance": 0.58974
}

Semantic roles & 50–950 ramp

primary
#E2CA4F
secondary
#3547A0
accent
#57EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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