#E4D268#E4D268

#E4D268 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.128 H 99.8°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E4D268
RGBrgb(228, 210, 104)
HSLhsl(51, 70%, 65%)
HSVhsv(51, 54%, 89%)
CMYKcmyk(0%, 7.9%, 54.4%, 10.6%)
CIE-LABlab(83.75, -6.98, 54.03)
CIE-LCHlch(83.75, 54.48, 97.36°)
OKLaboklab(85.75% -0.0219 0.1265)
OKLCHoklch(85.75% 0.128 99.8)
XYZxyz(57.5422, 63.5889, 22.3369)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D268 #687AE4
analogous
#E49468 #E4D268 #B8E468
triadic
#E4D268 #68E4D2 #D268E4
tetradic
#E4D268 #68E494 #687AE4 #E468B8
square
#E4D268 #68E494 #687AE4 #E468B8
split-complementary
#E4D268 #68B8E4 #9468E4
monochromatic
#B29D20 #DBC334 #E4D268 #EDE19C #F7F1D0

Accessibility & contrast

On white

1.53
#E4D268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#E4D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D268
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D268#FFFFFF#000000##000000
##E4D2681.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#E8D46D
Tritanopia (blue-blind)
#F3C5BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d268;
/* rgb */ color: rgb(228, 210, 104);
/* oklch */ color: oklch(85.8% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#efdf96',
    500: '#e4d268',
    950: '#000000',
  },
}
SCSS
$custom: #e4d268;
$custom-light: #efdf96;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d268",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 51.29,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85753,
    "c": 0.12841,
    "h": 99.8
  },
  "luminance": 0.63587
}

Semantic roles & 50–950 ramp

primary
#E4D268
secondary
#3E4FB3
accent
#2FD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D268

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

Preview Lab → · Contrast checker → · Palette generator →

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