#E2C457#E2C457

#E2C457 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.132 H 93.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#E2C457
RGBrgb(226, 196, 87)
HSLhsl(47, 71%, 61%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 13.3%, 61.5%, 11.4%)
CIE-LABlab(79.81, -1.87, 57.26)
CIE-LCHlch(79.81, 57.29, 91.87°)
OKLaboklab(82.54% -0.009 0.1315)
OKLCHoklch(82.54% 0.132 93.9)
XYZxyz(52.8266, 56.3394, 17.1070)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C457 #5775E2
analogous
#E27F57 #E2C457 #BBE257
triadic
#E2C457 #57E2C4 #C457E2
tetradic
#E2C457 #57E27F #5775E2 #E257BB
square
#E2C457 #57E27F #5775E2 #E257BB
split-complementary
#E2C457 #57BBE2 #7F57E2
monochromatic
#A3861C #D7B025 #E2C457 #EBD68B #F4E9BF

Accessibility & contrast

On white

1.71
#E2C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#E2C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C457
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C457#FFFFFF#000000##000000
##E2C4571.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DECA5C
Tritanopia (blue-blind)
#F3B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c457;
/* rgb */ color: rgb(226, 196, 87);
/* oklch */ color: oklch(82.5% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#eed58a',
    500: '#e2c457',
    950: '#000000',
  },
}
SCSS
$custom: #e2c457;
$custom-light: #eed58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c457",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 47.05,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82535,
    "c": 0.13182,
    "h": 93.9
  },
  "luminance": 0.56337
}

Semantic roles & 50–950 ramp

primary
#E2C457
secondary
#3850A5
accent
#3CD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C457

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

Preview Lab → · Contrast checker → · Palette generator →

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