#E7D168#E7D168

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

Color values

HEX#E7D168
RGBrgb(231, 209, 104)
HSLhsl(50, 73%, 66%)
HSVhsv(50, 55%, 91%)
CMYKcmyk(0%, 9.5%, 55%, 9.4%)
CIE-LABlab(83.75, -5.25, 54.10)
CIE-LCHlch(83.75, 54.35, 95.54°)
OKLaboklab(85.82% -0.0171 0.1266)
OKLCHoklch(85.82% 0.128 97.7)
XYZxyz(58.2563, 63.5918, 22.2998)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D168 #687EE7
analogous
#E79168 #E7D168 #BDE768
triadic
#E7D168 #68E7D1 #D168E7
tetradic
#E7D168 #68E791 #687EE7 #E768BD
square
#E7D168 #68E791 #687EE7 #E768BD
split-complementary
#E7D168 #68BDE7 #9168E7
monochromatic
#B79D1D #DFC133 #E7D168 #EFE19D #F8F1D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D168#FFFFFF#000000##000000
##E7D1681.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)
#E3CC5E
Deuteranopia (green-blind)
#E8D46D
Tritanopia (blue-blind)
#F7C4B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d168;
/* rgb */ color: rgb(231, 209, 104);
/* oklch */ color: oklch(85.8% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#f1de96',
    500: '#e7d168',
    950: '#000000',
  },
}
SCSS
$custom: #e7d168;
$custom-light: #f1de96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d168",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 49.606,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85816,
    "c": 0.12777,
    "h": 97.7
  },
  "luminance": 0.63589
}

Semantic roles & 50–950 ramp

primary
#E7D168
secondary
#3C51B7
accent
#33D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D168

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

Preview Lab → · Contrast checker → · Palette generator →

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