#E5D168#E5D168

#E5D168 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.128 H 98.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#E5D168
RGBrgb(229, 209, 104)
HSLhsl(50, 71%, 65%)
HSVhsv(50, 55%, 90%)
CMYKcmyk(0%, 8.7%, 54.6%, 10.2%)
CIE-LABlab(83.58, -6.07, 53.85)
CIE-LCHlch(83.58, 54.19, 96.43°)
OKLaboklab(85.64% -0.0193 0.1261)
OKLCHoklch(85.64% 0.128 98.7)
XYZxyz(57.6143, 63.2607, 22.2697)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D168 #687CE5
analogous
#E59268 #E5D168 #BAE568
triadic
#E5D168 #68E5D1 #D168E5
tetradic
#E5D168 #68E592 #687CE5 #E568BA
square
#E5D168 #68E592 #687CE5 #E568BA
split-complementary
#E5D168 #68BAE5 #9268E5
monochromatic
#B49C1F #DCC134 #E5D168 #EEE19C #F7F1D0

Accessibility & contrast

On white

1.54
#E5D168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#E5D168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D168
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D168#FFFFFF#000000##000000
##E5D1681.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5E
Deuteranopia (green-blind)
#E8D36D
Tritanopia (blue-blind)
#F5C4B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d168;
/* rgb */ color: rgb(229, 209, 104);
/* oklch */ color: oklch(85.6% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#f0de96',
    500: '#e5d168',
    950: '#000000',
  },
}
SCSS
$custom: #e5d168;
$custom-light: #f0de96;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d168",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 50.4,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85638,
    "c": 0.12759,
    "h": 98.7
  },
  "luminance": 0.63258
}

Semantic roles & 50–950 ramp

primary
#E5D168
secondary
#3D50B4
accent
#32D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D168

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

Preview Lab → · Contrast checker → · Palette generator →

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