#EFDF8D#EFDF8D

#EFDF8D is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.104 H 98.5°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#EFDF8D
RGBrgb(239, 223, 141)
HSLhsl(50, 75%, 75%)
HSVhsv(50, 41%, 94%)
CMYKcmyk(0%, 6.7%, 41%, 6.3%)
CIE-LABlab(88.47, -5.78, 42.12)
CIE-LCHlch(88.47, 42.51, 97.82°)
OKLaboklab(89.86% -0.0154 0.1027)
OKLCHoklch(89.86% 0.104 98.5)
XYZxyz(66.7934, 73.0513, 35.7760)
Luminance0.7305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF8D #8D9DEF
analogous
#EFAE8D #EFDF8D #CEEF8D
triadic
#EFDF8D #8DEFDF #DF8DEF
tetradic
#EFDF8D #8DEFAE #8D9DEF #EF8DCE
square
#EFDF8D #8DEFAE #8D9DEF #EF8DCE
split-complementary
#EFDF8D #8DCEEF #AE8DEF
monochromatic
#E0C122 #E7D057 #EFDF8D #F7EEC3 #FBF7E4

Accessibility & contrast

On white

1.35
#EFDF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#EFDF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF8D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF8D#FFFFFF#000000##000000
##EFDF8D1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB87
Deuteranopia (green-blind)
#F2E190
Tritanopia (blue-blind)
#FDD4CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf8d;
/* rgb */ color: rgb(239, 223, 141);
/* oklch */ color: oklch(89.9% 0.104 98.5);
Tailwind
colors: {
  custom: {
    50: '#f6e8af',
    500: '#efdf8d',
    950: '#000000',
  },
}
SCSS
$custom: #efdf8d;
$custom-light: #f6e8af;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf8d",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 141
  },
  "hsl": {
    "h": 50.204,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89863,
    "c": 0.10384,
    "h": 98.5
  },
  "luminance": 0.73049
}

Semantic roles & 50–950 ramp

primary
#EFDF8D
secondary
#5669CB
accent
#2FD80E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFDF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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