#E2C651#E2C651

#E2C651 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.138 H 95.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#E2C651
RGBrgb(226, 198, 81)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.4%, 64.2%, 11.4%)
CIE-LABlab(80.27, -3.28, 60.39)
CIE-LCHlch(80.27, 60.48, 93.11°)
OKLaboklab(82.88% -0.0138 0.1373)
OKLCHoklch(82.88% 0.138 95.7)
XYZxyz(53.0457, 57.1536, 16.0207)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C651 #516DE2
analogous
#E27E51 #E2C651 #B5E251
triadic
#E2C651 #51E2C6 #C651E2
tetradic
#E2C651 #51E27E #516DE2 #E251B5
square
#E2C651 #51E27E #516DE2 #E251B5
split-complementary
#E2C651 #51B5E2 #7E51E2
monochromatic
#9E851A #D3B123 #E2C651 #EBD785 #F3E8BA

Accessibility & contrast

On white

1.69
#E2C651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#E2C651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C651
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C651#FFFFFF#000000##000000
##E2C6511.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#F3B8AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c651;
/* rgb */ color: rgb(226, 198, 81);
/* oklch */ color: oklch(82.9% 0.138 95.7);
Tailwind
colors: {
  custom: {
    50: '#eed787',
    500: '#e2c651',
    950: '#000000',
  },
}
SCSS
$custom: #e2c651;
$custom-light: #eed787;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c651",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 48.414,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82881,
    "c": 0.13799,
    "h": 95.7
  },
  "luminance": 0.57151
}

Semantic roles & 50–950 ramp

primary
#E2C651
secondary
#364BA1
accent
#37D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C651

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

Preview Lab → · Contrast checker → · Palette generator →

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