#E2D757#E2D757

#E2D757 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.148 H 104.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E2D757
RGBrgb(226, 215, 87)
HSLhsl(55, 71%, 61%)
HSVhsv(55, 62%, 89%)
CMYKcmyk(0%, 4.9%, 61.5%, 11.4%)
CIE-LABlab(84.72, -11.54, 62.63)
CIE-LCHlch(84.72, 63.68, 100.44°)
OKLaboklab(86.43% -0.0367 0.1429)
OKLCHoklch(86.43% 0.148 104.4)
XYZxyz(57.3868, 65.4598, 18.6271)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D757 #5762E2
analogous
#E29257 #E2D757 #A8E257
triadic
#E2D757 #57E2D7 #D757E2
tetradic
#E2D757 #57E292 #5762E2 #E257A8
square
#E2D757 #57E292 #5762E2 #E257A8
split-complementary
#E2D757 #57A8E2 #9257E2
monochromatic
#A3981C #D7C925 #E2D757 #EBE38B #F4F0BF

Accessibility & contrast

On white

1.49
#E2D757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E2D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D757
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D757#FFFFFF#000000##000000
##E2D7571.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#F2C9BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d757;
/* rgb */ color: rgb(226, 215, 87);
/* oklch */ color: oklch(86.4% 0.148 104.4);
Tailwind
colors: {
  custom: {
    50: '#eee38c',
    500: '#e2d757',
    950: '#000000',
  },
}
SCSS
$custom: #e2d757;
$custom-light: #eee38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d757",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 55.252,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8643,
    "c": 0.14755,
    "h": 104.4
  },
  "luminance": 0.65458
}

Semantic roles & 50–950 ramp

primary
#E2D757
secondary
#3841A5
accent
#22D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D757

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

Preview Lab → · Contrast checker → · Palette generator →

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