#E2CA43#E2CA43

#E2CA43 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.6% C 0.151 H 98.9°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#E2CA43
RGBrgb(226, 202, 67)
HSLhsl(51, 73%, 57%)
HSVhsv(51, 70%, 89%)
CMYKcmyk(0%, 10.6%, 70.4%, 11.4%)
CIE-LABlab(81.19, -6.09, 67.00)
CIE-LCHlch(81.19, 67.28, 95.20°)
OKLaboklab(83.58% -0.0234 0.149)
OKLCHoklch(83.58% 0.151 98.9)
XYZxyz(53.5002, 58.8176, 13.8440)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA43 #435BE2
analogous
#E27A43 #E2CA43 #ABE243
triadic
#E2CA43 #43E2CA #CA43E2
tetradic
#E2CA43 #43E27A #435BE2 #E243AB
square
#E2CA43 #43E27A #435BE2 #E243AB
split-complementary
#E2CA43 #43ABE2 #7A43E2
monochromatic
#948117 #C9AF1F #E2CA43 #EAD978 #F2E8AD

Accessibility & contrast

On white

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

On black

12.76
#E2CA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA43
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA43#FFFFFF#000000##000000
##E2CA431.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52E
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#F3BBAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca43;
/* rgb */ color: rgb(226, 202, 67);
/* oklch */ color: oklch(83.6% 0.151 98.9);
Tailwind
colors: {
  custom: {
    50: '#efd97f',
    500: '#e2ca43',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca43;
$custom-light: #efd97f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca43",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 67
  },
  "hsl": {
    "h": 50.943,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8358,
    "c": 0.15083,
    "h": 98.9
  },
  "luminance": 0.58815
}

Semantic roles & 50–950 ramp

primary
#E2CA43
secondary
#314198
accent
#54F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA43

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

Preview Lab → · Contrast checker → · Palette generator →

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