#E2CA17#E2CA17

#E2CA17 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.170 H 100.4°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E2CA17
RGBrgb(226, 202, 23)
HSLhsl(53, 82%, 49%)
HSVhsv(53, 90%, 89%)
CMYKcmyk(0%, 10.6%, 89.8%, 11.4%)
CIE-LABlab(81.00, -7.50, 79.09)
CIE-LCHlch(81.00, 79.44, 95.41°)
OKLaboklab(83.37% -0.0308 0.1672)
OKLCHoklch(83.37% 0.17 100.4)
XYZxyz(52.6420, 58.4744, 9.3243)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA17 #172FE2
analogous
#E26417 #E2CA17 #95E217
triadic
#E2CA17 #17E2CA #CA17E2
tetradic
#E2CA17 #17E264 #172FE2 #E21795
square
#E2CA17 #17E264 #172FE2 #E21795
split-complementary
#E2CA17 #1795E2 #6417E2
monochromatic
#73670C #AA9811 #E2CA17 #EDD94A #F2E581

Accessibility & contrast

On white

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

On black

12.69
#E2CA17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA17
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA17#FFFFFF#000000##000000
##E2CA171.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC400
Deuteranopia (green-blind)
#E5CD2C
Tritanopia (blue-blind)
#F4BAAC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2ca17;
/* rgb */ color: rgb(226, 202, 23);
/* oklch */ color: oklch(83.4% 0.170 100.4);
Tailwind
colors: {
  custom: {
    50: '#f0d96d',
    500: '#e2ca17',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca17;
$custom-light: #f0d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca17",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 23
  },
  "hsl": {
    "h": 52.906,
    "s": 81.526,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8337,
    "c": 0.17,
    "h": 100.4
  },
  "luminance": 0.58472
}

Semantic roles & 50–950 ramp

primary
#E2CA17
secondary
#222C7B
accent
#48F830
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181408
muted
#86837D

Preview Lab

Preview with #E2CA17

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

Preview Lab → · Contrast checker → · Palette generator →

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