#E4D76B#E4D76B

#E4D76B is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.130 H 102.5°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E4D76B
RGBrgb(228, 215, 107)
HSLhsl(54, 69%, 66%)
HSVhsv(54, 53%, 89%)
CMYKcmyk(0%, 5.7%, 53.1%, 10.6%)
CIE-LABlab(85.08, -9.27, 54.18)
CIE-LCHlch(85.08, 54.97, 99.71°)
OKLaboklab(86.82% -0.0281 0.1272)
OKLCHoklch(86.82% 0.13 102.5)
XYZxyz(58.9510, 66.1584, 23.5716)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D76B #6B78E4
analogous
#E49A6B #E4D76B #B4E46B
triadic
#E4D76B #6BE4D7 #D76BE4
tetradic
#E4D76B #6BE49A #6B78E4 #E46BB4
square
#E4D76B #6BE49A #6B78E4 #E46BB4
split-complementary
#E4D76B #6BB4E4 #9A6BE4
monochromatic
#B4A421 #DBC937 #E4D76B #EDE59F #F7F3D3

Accessibility & contrast

On white

1.48
#E4D76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E4D76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D76B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D76B#FFFFFF#000000##000000
##E4D76B1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D161
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#F3CABF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d76b;
/* rgb */ color: rgb(228, 215, 107);
/* oklch */ color: oklch(86.8% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#efe398',
    500: '#e4d76b',
    950: '#000000',
  },
}
SCSS
$custom: #e4d76b;
$custom-light: #efe398;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d76b",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 53.554,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86816,
    "c": 0.13024,
    "h": 102.5
  },
  "luminance": 0.66156
}

Semantic roles & 50–950 ramp

primary
#E4D76B
secondary
#3F4BB4
accent
#29D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D76B

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

Preview Lab → · Contrast checker → · Palette generator →

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