#E2D54B#E2D54B

#E2D54B is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.155 H 103.9°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#E2D54B
RGBrgb(226, 213, 75)
HSLhsl(55, 72%, 59%)
HSVhsv(55, 67%, 89%)
CMYKcmyk(0%, 5.8%, 66.8%, 11.4%)
CIE-LABlab(84.10, -11.25, 66.86)
CIE-LCHlch(84.10, 67.80, 99.55°)
OKLaboklab(85.91% -0.0372 0.1501)
OKLCHoklch(85.91% 0.155 103.9)
XYZxyz(56.4305, 64.2674, 16.0876)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D54B #4B58E2
analogous
#E2894B #E2D54B #A4E24B
triadic
#E2D54B #4BE2D5 #D54BE2
tetradic
#E2D54B #4BE289 #4B58E2 #E24BA4
square
#E2D54B #4BE289 #4B58E2 #E24BA4
split-complementary
#E2D54B #4BA4E2 #894BE2
monochromatic
#9A8F19 #CFC021 #E2D54B #EAE180 #F3EEB4

Accessibility & contrast

On white

1.52
#E2D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#E2D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D54B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D54B#FFFFFF#000000##000000
##E2D54B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE38
Deuteranopia (green-blind)
#ECD554
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d54b;
/* rgb */ color: rgb(226, 213, 75);
/* oklch */ color: oklch(85.9% 0.155 103.9);
Tailwind
colors: {
  custom: {
    50: '#efe184',
    500: '#e2d54b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d54b;
$custom-light: #efe184;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d54b",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 54.834,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85911,
    "c": 0.15459,
    "h": 103.9
  },
  "luminance": 0.64265
}

Semantic roles & 50–950 ramp

primary
#E2D54B
secondary
#343D9E
accent
#49EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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