#E2C351#E2C351

#E2C351 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.136 H 93.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#E2C351
RGBrgb(226, 195, 81)
HSLhsl(47, 71%, 60%)
HSVhsv(47, 64%, 89%)
CMYKcmyk(0%, 13.7%, 64.2%, 11.4%)
CIE-LABlab(79.50, -1.73, 59.57)
CIE-LCHlch(79.50, 59.59, 91.66°)
OKLaboklab(82.27% -0.0093 0.1356)
OKLCHoklch(82.27% 0.136 93.9)
XYZxyz(52.3668, 55.7958, 15.7943)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C351 #5170E2
analogous
#E27A51 #E2C351 #B9E251
triadic
#E2C351 #51E2C3 #C351E2
tetradic
#E2C351 #51E27A #5170E2 #E251B9
square
#E2C351 #51E27A #5170E2 #E251B9
split-complementary
#E2C351 #51B9E2 #7A51E2
monochromatic
#9E821A #D3AD23 #E2C351 #EBD585 #F3E7BA

Accessibility & contrast

On white

1.73
#E2C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#E2C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C351
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C351#FFFFFF#000000##000000
##E2C3511.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#F3B5AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c351;
/* rgb */ color: rgb(226, 195, 81);
/* oklch */ color: oklch(82.3% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#efd487',
    500: '#e2c351',
    950: '#000000',
  },
}
SCSS
$custom: #e2c351;
$custom-light: #efd487;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c351",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 47.172,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82273,
    "c": 0.13587,
    "h": 93.9
  },
  "luminance": 0.55793
}

Semantic roles & 50–950 ramp

primary
#E2C351
secondary
#364DA1
accent
#3BD312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C351

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

Preview Lab → · Contrast checker → · Palette generator →

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