#E2D968#E2D968

#E2D968 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.135 H 104.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E2D968
RGBrgb(226, 217, 104)
HSLhsl(56, 68%, 65%)
HSVhsv(56, 54%, 89%)
CMYKcmyk(0%, 4%, 54%, 11.4%)
CIE-LABlab(85.40, -11.33, 55.90)
CIE-LCHlch(85.40, 57.03, 101.46°)
OKLaboklab(87.02% -0.0342 0.1306)
OKLCHoklch(87.02% 0.135 104.7)
XYZxyz(58.6773, 66.7958, 22.8960)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D968 #6871E2
analogous
#E29C68 #E2D968 #AEE268
triadic
#E2D968 #68E2D9 #D968E2
tetradic
#E2D968 #68E29C #6871E2 #E268AE
square
#E2D968 #68E29C #6871E2 #E268AE
split-complementary
#E2D968 #68AEE2 #9C68E2
monochromatic
#AEA421 #D8CC35 #E2D968 #ECE69B #F6F3CF

Accessibility & contrast

On white

1.46
#E2D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E2D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D968
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D968#FFFFFF#000000##000000
##E2D9681.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EDD86E
Tritanopia (blue-blind)
#F1CCC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d968;
/* rgb */ color: rgb(226, 217, 104);
/* oklch */ color: oklch(87.0% 0.135 104.7);
Tailwind
colors: {
  custom: {
    50: '#ede496',
    500: '#e2d968',
    950: '#000000',
  },
}
SCSS
$custom: #e2d968;
$custom-light: #ede496;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d968",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 55.574,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87023,
    "c": 0.13502,
    "h": 104.7
  },
  "luminance": 0.66794
}

Semantic roles & 50–950 ramp

primary
#E2D968
secondary
#3F47B0
accent
#24D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D968

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

Preview Lab → · Contrast checker → · Palette generator →

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