#E2CA4C#E2CA4C

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

Color values

HEX#E2CA4C
RGBrgb(226, 202, 76)
HSLhsl(50, 72%, 59%)
HSVhsv(50, 66%, 89%)
CMYKcmyk(0%, 10.6%, 66.4%, 11.4%)
CIE-LABlab(81.26, -5.62, 63.53)
CIE-LCHlch(81.26, 63.78, 95.06°)
OKLaboklab(83.65% -0.0211 0.1432)
OKLCHoklch(83.65% 0.145 98.4)
XYZxyz(53.7915, 58.9342, 15.3781)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA4C #4C64E2
analogous
#E27F4C #E2CA4C #AFE24C
triadic
#E2CA4C #4CE2CA #CA4CE2
tetradic
#E2CA4C #4CE27F #4C64E2 #E24CAF
square
#E2CA4C #4CE27F #4C64E2 #E24CAF
split-complementary
#E2CA4C #4CAFE2 #7F4CE2
monochromatic
#9B8619 #CFB322 #E2CA4C #EBDA81 #F3E9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA4C#FFFFFF#000000##000000
##E2CA4C1.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)
#DDC53C
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#F3BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca4c;
/* rgb */ color: rgb(226, 202, 76);
/* oklch */ color: oklch(83.7% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#efd984',
    500: '#e2ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca4c;
$custom-light: #efd984;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca4c",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 50.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83652,
    "c": 0.14472,
    "h": 98.4
  },
  "luminance": 0.58932
}

Semantic roles & 50–950 ramp

primary
#E2CA4C
secondary
#34459E
accent
#56EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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