#E2CA4D#E2CA4D

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

Color values

HEX#E2CA4D
RGBrgb(226, 202, 77)
HSLhsl(50, 72%, 59%)
HSVhsv(50, 66%, 89%)
CMYKcmyk(0%, 10.6%, 65.9%, 11.4%)
CIE-LABlab(81.26, -5.57, 63.13)
CIE-LCHlch(81.26, 63.37, 95.04°)
OKLaboklab(83.66% -0.0208 0.1425)
OKLCHoklch(83.66% 0.144 98.3)
XYZxyz(53.8265, 58.9482, 15.5626)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA4D #4D65E2
analogous
#E2804D #E2CA4D #AFE24D
triadic
#E2CA4D #4DE2CA #CA4DE2
tetradic
#E2CA4D #4DE280 #4D65E2 #E24DAF
square
#E2CA4D #4DE280 #4D65E2 #E24DAF
split-complementary
#E2CA4D #4DAFE2 #804DE2
monochromatic
#9B8619 #D0B422 #E2CA4D #EBDA82 #F3E9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA4D#FFFFFF#000000##000000
##E2CA4D1.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)
#DDC53D
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#F3BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca4d;
/* rgb */ color: rgb(226, 202, 77);
/* oklch */ color: oklch(83.7% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#efd985',
    500: '#e2ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca4d;
$custom-light: #efd985;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca4d",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 50.336,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8366,
    "c": 0.14399,
    "h": 98.3
  },
  "luminance": 0.58946
}

Semantic roles & 50–950 ramp

primary
#E2CA4D
secondary
#34469F
accent
#56EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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