#E2CA58#E2CA58

#E2CA58 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.135 H 97.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E2CA58
RGBrgb(226, 202, 88)
HSLhsl(50, 70%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.6%, 61.1%, 11.4%)
CIE-LABlab(81.36, -4.89, 58.53)
CIE-LCHlch(81.36, 58.73, 94.77°)
OKLaboklab(83.76% -0.0176 0.1343)
OKLCHoklch(83.76% 0.135 97.5)
XYZxyz(54.2483, 59.1169, 17.7839)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA58 #5870E2
analogous
#E28558 #E2CA58 #B5E258
triadic
#E2CA58 #58E2CA #CA58E2
tetradic
#E2CA58 #58E285 #5870E2 #E258B5
square
#E2CA58 #58E285 #5870E2 #E258B5
split-complementary
#E2CA58 #58B5E2 #8558E2
monochromatic
#A38C1C #D7B825 #E2CA58 #EBDB8C #F4EBC0

Accessibility & contrast

On white

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

On black

12.82
#E2CA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA58
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA58#FFFFFF#000000##000000
##E2CA581.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#F2BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca58;
/* rgb */ color: rgb(226, 202, 88);
/* oklch */ color: oklch(83.8% 0.135 97.5);
Tailwind
colors: {
  custom: {
    50: '#eed98b',
    500: '#e2ca58',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca58;
$custom-light: #eed98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca58",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 49.565,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83763,
    "c": 0.13549,
    "h": 97.5
  },
  "luminance": 0.59114
}

Semantic roles & 50–950 ramp

primary
#E2CA58
secondary
#384BA6
accent
#34D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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