#EFDF96#EFDF96

#EFDF96 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.094 H 97.3°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#EFDF96
RGBrgb(239, 223, 150)
HSLhsl(49, 74%, 76%)
HSVhsv(49, 37%, 94%)
CMYKcmyk(0%, 6.7%, 37.2%, 6.3%)
CIE-LABlab(88.60, -4.81, 37.78)
CIE-LCHlch(88.60, 38.08, 97.26°)
OKLaboklab(90.01% -0.0119 0.0931)
OKLCHoklch(90.01% 0.094 97.3)
XYZxyz(67.4905, 73.3301, 39.4472)
Luminance0.7333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF96 #96A6EF
analogous
#EFB396 #EFDF96 #D3EF96
triadic
#EFDF96 #96EFDF #DF96EF
tetradic
#EFDF96 #96EFB3 #96A6EF #EF96D3
square
#EFDF96 #96EFB3 #96A6EF #EF96D3
split-complementary
#EFDF96 #96D3EF #B396EF
monochromatic
#DFBF2C #E7CF61 #EFDF96 #F7EFCB #FBF7E4

Accessibility & contrast

On white

1.34
#EFDF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#EFDF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF96
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF96#FFFFFF#000000##000000
##EFDF961.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB91
Deuteranopia (green-blind)
#F1E199
Tritanopia (blue-blind)
#FCD5CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf96;
/* rgb */ color: rgb(239, 223, 150);
/* oklch */ color: oklch(90.0% 0.094 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5e8b5',
    500: '#efdf96',
    950: '#000000',
  },
}
SCSS
$custom: #efdf96;
$custom-light: #f5e8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf96",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 150
  },
  "hsl": {
    "h": 49.213,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90012,
    "c": 0.09388,
    "h": 97.3
  },
  "luminance": 0.73328
}

Semantic roles & 50–950 ramp

primary
#EFDF96
secondary
#5E72CB
accent
#33D610
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFDF96

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

Preview Lab → · Contrast checker → · Palette generator →

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