#E2C757#E2C757

#E2C757 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.134 H 95.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#E2C757
RGBrgb(226, 199, 87)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 11.9%, 61.5%, 11.4%)
CIE-LABlab(80.58, -3.41, 58.11)
CIE-LCHlch(80.58, 58.21, 93.36°)
OKLaboklab(83.14% -0.0135 0.1333)
OKLCHoklch(83.14% 0.134 95.8)
XYZxyz(53.5101, 57.7063, 17.3348)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C757 #5772E2
analogous
#E28257 #E2C757 #B8E257
triadic
#E2C757 #57E2C7 #C757E2
tetradic
#E2C757 #57E282 #5772E2 #E257B8
square
#E2C757 #57E282 #5772E2 #E257B8
split-complementary
#E2C757 #57B8E2 #8257E2
monochromatic
#A3881C #D7B425 #E2C757 #EBD88B #F4EABF

Accessibility & contrast

On white

1.67
#E2C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#E2C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C757
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C757#FFFFFF#000000##000000
##E2C7571.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#E0CC5C
Tritanopia (blue-blind)
#F3B9AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c757;
/* rgb */ color: rgb(226, 199, 87);
/* oklch */ color: oklch(83.1% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#eed78b',
    500: '#e2c757',
    950: '#000000',
  },
}
SCSS
$custom: #e2c757;
$custom-light: #eed78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c757",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 48.345,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83143,
    "c": 0.13399,
    "h": 95.8
  },
  "luminance": 0.57704
}

Semantic roles & 50–950 ramp

primary
#E2C757
secondary
#384DA5
accent
#38D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C757

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

Preview Lab → · Contrast checker → · Palette generator →

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