#E2C657#E2C657

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

Color values

HEX#E2C657
RGBrgb(226, 198, 87)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.4%, 61.5%, 11.4%)
CIE-LABlab(80.32, -2.90, 57.83)
CIE-LCHlch(80.32, 57.90, 92.87°)
OKLaboklab(82.94% -0.012 0.1327)
OKLCHoklch(82.94% 0.133 95.2)
XYZxyz(53.2808, 57.2476, 17.2584)
Luminance0.5725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C657 #5773E2
analogous
#E28157 #E2C657 #B8E257
triadic
#E2C657 #57E2C6 #C657E2
tetradic
#E2C657 #57E281 #5773E2 #E257B8
square
#E2C657 #57E281 #5773E2 #E257B8
split-complementary
#E2C657 #57B8E2 #8157E2
monochromatic
#A3871C #D7B325 #E2C657 #EBD88B #F4E9BF

Accessibility & contrast

On white

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

On black

12.45
#E2C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C657
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C657#FFFFFF#000000##000000
##E2C6571.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#F3B8AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c657;
/* rgb */ color: rgb(226, 198, 87);
/* oklch */ color: oklch(82.9% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#eed78b',
    500: '#e2c657',
    950: '#000000',
  },
}
SCSS
$custom: #e2c657;
$custom-light: #eed78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c657",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 47.914,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8294,
    "c": 0.13325,
    "h": 95.2
  },
  "luminance": 0.57245
}

Semantic roles & 50–950 ramp

primary
#E2C657
secondary
#384EA5
accent
#3AD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C657

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

Preview Lab → · Contrast checker → · Palette generator →

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