#E2D754#E2D754

#E2D754 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.150 H 104.5°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E2D754
RGBrgb(226, 215, 84)
HSLhsl(55, 71%, 61%)
HSVhsv(55, 63%, 89%)
CMYKcmyk(0%, 4.9%, 62.8%, 11.4%)
CIE-LABlab(84.70, -11.73, 63.86)
CIE-LCHlch(84.70, 64.93, 100.41°)
OKLaboklab(86.4% -0.0376 0.1451)
OKLCHoklch(86.4% 0.15 104.5)
XYZxyz(57.2668, 65.4118, 17.9950)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D754 #545FE2
analogous
#E29054 #E2D754 #A6E254
triadic
#E2D754 #54E2D7 #D754E2
tetradic
#E2D754 #54E290 #545FE2 #E254A6
square
#E2D754 #54E290 #545FE2 #E254A6
split-complementary
#E2D754 #54A6E2 #9054E2
monochromatic
#A0961B #D5C724 #E2D754 #EBE388 #F4EFBD

Accessibility & contrast

On white

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

On black

14.08
#E2D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D754
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D754#FFFFFF#000000##000000
##E2D7541.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d754;
/* rgb */ color: rgb(226, 215, 84);
/* oklch */ color: oklch(86.4% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#eee38a',
    500: '#e2d754',
    950: '#000000',
  },
}
SCSS
$custom: #e2d754;
$custom-light: #eee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d754",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 55.352,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86403,
    "c": 0.14987,
    "h": 104.5
  },
  "luminance": 0.6541
}

Semantic roles & 50–950 ramp

primary
#E2D754
secondary
#373FA3
accent
#21D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D754

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

Preview Lab → · Contrast checker → · Palette generator →

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