#E7D968#E7D968

#E7D968 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.135 H 102.3°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#E7D968
RGBrgb(231, 217, 104)
HSLhsl(53, 73%, 66%)
HSVhsv(53, 55%, 91%)
CMYKcmyk(0%, 6.1%, 55%, 9.4%)
CIE-LABlab(85.81, -9.30, 56.48)
CIE-LCHlch(85.81, 57.24, 99.35°)
OKLaboklab(87.45% -0.0287 0.1318)
OKLCHoklch(87.45% 0.135 102.3)
XYZxyz(60.2685, 67.6163, 22.9706)
Luminance0.6761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D968 #6876E7
analogous
#E79968 #E7D968 #B5E768
triadic
#E7D968 #68E7D9 #D968E7
tetradic
#E7D968 #68E799 #6876E7 #E768B5
square
#E7D968 #68E799 #6876E7 #E768B5
split-complementary
#E7D968 #68B5E7 #9968E7
monochromatic
#B7A61D #DFCC33 #E7D968 #EFE69D #F8F4D2

Accessibility & contrast

On white

1.45
#E7D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#E7D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D968
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D968#FFFFFF#000000##000000
##E7D9681.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35D
Deuteranopia (green-blind)
#EFD96E
Tritanopia (blue-blind)
#F6CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7d968;
/* rgb */ color: rgb(231, 217, 104);
/* oklch */ color: oklch(87.5% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#f1e496',
    500: '#e7d968',
    950: '#000000',
  },
}
SCSS
$custom: #e7d968;
$custom-light: #f1e496;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d968",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 53.386,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87451,
    "c": 0.13487,
    "h": 102.3
  },
  "luminance": 0.67614
}

Semantic roles & 50–950 ramp

primary
#E7D968
secondary
#3C49B7
accent
#26D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D968

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

Preview Lab → · Contrast checker → · Palette generator →

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