#EFDC96#EFDC96

#EFDC96 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.091 H 94.7°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#EFDC96
RGBrgb(239, 220, 150)
HSLhsl(47, 74%, 76%)
HSVhsv(47, 37%, 94%)
CMYKcmyk(0%, 7.9%, 37.2%, 6.3%)
CIE-LABlab(87.84, -3.29, 36.78)
CIE-LCHlch(87.84, 36.93, 95.11°)
OKLaboklab(89.41% -0.0075 0.0908)
OKLCHoklch(89.41% 0.091 94.7)
XYZxyz(66.6961, 71.7412, 39.1824)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC96 #96A9EF
analogous
#EFB096 #EFDC96 #D6EF96
triadic
#EFDC96 #96EFDC #DC96EF
tetradic
#EFDC96 #96EFB0 #96A9EF #EF96D6
square
#EFDC96 #96EFB0 #96A9EF #EF96D6
split-complementary
#EFDC96 #96D6EF #B096EF
monochromatic
#DFB92C #E7CA61 #EFDC96 #F7EECB #FBF6E4

Accessibility & contrast

On white

1.37
#EFDC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#EFDC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC96
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC96#FFFFFF#000000##000000
##EFDC961.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD991
Deuteranopia (green-blind)
#EFDF98
Tritanopia (blue-blind)
#FCD2CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc96;
/* rgb */ color: rgb(239, 220, 150);
/* oklch */ color: oklch(89.4% 0.091 94.7);
Tailwind
colors: {
  custom: {
    50: '#f5e6b5',
    500: '#efdc96',
    950: '#000000',
  },
}
SCSS
$custom: #efdc96;
$custom-light: #f5e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc96",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 150
  },
  "hsl": {
    "h": 47.191,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.8941,
    "c": 0.09113,
    "h": 94.7
  },
  "luminance": 0.71739
}

Semantic roles & 50–950 ramp

primary
#EFDC96
secondary
#5E75CB
accent
#3AD610
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDC96

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

Preview Lab → · Contrast checker → · Palette generator →

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