#E2CE4C#E2CE4C

#E2CE4C is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.5% C 0.148 H 100.5°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E2CE4C
RGBrgb(226, 206, 76)
HSLhsl(52, 72%, 59%)
HSVhsv(52, 66%, 89%)
CMYKcmyk(0%, 8.8%, 66.4%, 11.4%)
CIE-LABlab(82.29, -7.66, 64.60)
CIE-LCHlch(82.29, 65.05, 96.76°)
OKLaboklab(84.47% -0.0269 0.1454)
OKLCHoklch(84.47% 0.148 100.5)
XYZxyz(54.7422, 60.8356, 15.6950)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE4C #4C60E2
analogous
#E2834C #E2CE4C #ABE24C
triadic
#E2CE4C #4CE2CE #CE4CE2
tetradic
#E2CE4C #4CE283 #4C60E2 #E24CAB
square
#E2CE4C #4CE283 #4C60E2 #E24CAB
split-complementary
#E2CE4C #4CABE2 #834CE2
monochromatic
#9B8919 #CFB822 #E2CE4C #EBDC81 #F3EBB5

Accessibility & contrast

On white

1.59
#E2CE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#E2CE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE4C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE4C#FFFFFF#000000##000000
##E2CE4C1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C83B
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#F3C0B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2ce4c;
/* rgb */ color: rgb(226, 206, 76);
/* oklch */ color: oklch(84.5% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#efdc84',
    500: '#e2ce4c',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce4c;
$custom-light: #efdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce4c",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 52,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84472,
    "c": 0.1479,
    "h": 100.5
  },
  "luminance": 0.60833
}

Semantic roles & 50–950 ramp

primary
#E2CE4C
secondary
#34429E
accent
#51EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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