#E2C257#E2C257

#E2C257 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.130 H 92.6°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#E2C257
RGBrgb(226, 194, 87)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.2%, 61.5%, 11.4%)
CIE-LABlab(79.30, -0.83, 56.70)
CIE-LCHlch(79.30, 56.70, 90.84°)
OKLaboklab(82.13% -0.006 0.1303)
OKLCHoklch(82.13% 0.13 92.6)
XYZxyz(52.3785, 55.4432, 16.9577)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C257 #5777E2
analogous
#E27D57 #E2C257 #BDE257
triadic
#E2C257 #57E2C2 #C257E2
tetradic
#E2C257 #57E27D #5777E2 #E257BD
square
#E2C257 #57E27D #5777E2 #E257BD
split-complementary
#E2C257 #57BDE2 #7D57E2
monochromatic
#A3841C #D7AE25 #E2C257 #EBD58B #F4E8BF

Accessibility & contrast

On white

1.74
#E2C257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#E2C257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C257
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C257#FFFFFF#000000##000000
##E2C2571.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#DDC85C
Tritanopia (blue-blind)
#F3B4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c257;
/* rgb */ color: rgb(226, 194, 87);
/* oklch */ color: oklch(82.1% 0.130 92.6);
Tailwind
colors: {
  custom: {
    50: '#eed48a',
    500: '#e2c257',
    950: '#000000',
  },
}
SCSS
$custom: #e2c257;
$custom-light: #eed48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c257",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 46.187,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82131,
    "c": 0.13044,
    "h": 92.6
  },
  "luminance": 0.5544
}

Semantic roles & 50–950 ramp

primary
#E2C257
secondary
#3851A5
accent
#3FD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C257

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

Preview Lab → · Contrast checker → · Palette generator →

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