#E5D268#E5D268

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

Color values

HEX#E5D268
RGBrgb(229, 210, 104)
HSLhsl(51, 71%, 65%)
HSVhsv(51, 55%, 90%)
CMYKcmyk(0%, 8.3%, 54.6%, 10.2%)
CIE-LABlab(83.84, -6.57, 54.15)
CIE-LCHlch(83.84, 54.55, 96.92°)
OKLaboklab(85.84% -0.0208 0.1268)
OKLCHoklch(85.84% 0.128 99.3)
XYZxyz(57.8604, 63.7530, 22.3518)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D268 #687BE5
analogous
#E59368 #E5D268 #B9E568
triadic
#E5D268 #68E5D2 #D268E5
tetradic
#E5D268 #68E593 #687BE5 #E568B9
square
#E5D268 #68E593 #687BE5 #E568B9
split-complementary
#E5D268 #68B9E5 #9368E5
monochromatic
#B49D1F #DCC234 #E5D268 #EEE29C #F7F1D0

Accessibility & contrast

On white

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

On black

13.75
#E5D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D268
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D268#FFFFFF#000000##000000
##E5D2681.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5d268;
/* rgb */ color: rgb(229, 210, 104);
/* oklch */ color: oklch(85.8% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#f0df96',
    500: '#e5d268',
    950: '#000000',
  },
}
SCSS
$custom: #e5d268;
$custom-light: #f0df96;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d268",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 50.88,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85842,
    "c": 0.12846,
    "h": 99.3
  },
  "luminance": 0.63751
}

Semantic roles & 50–950 ramp

primary
#E5D268
secondary
#3D4FB4
accent
#30D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D268

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

Preview Lab → · Contrast checker → · Palette generator →

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