#EFDF8B#EFDF8B

#EFDF8B is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.106 H 98.8°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#EFDF8B
RGBrgb(239, 223, 139)
HSLhsl(50, 76%, 74%)
HSVhsv(50, 42%, 94%)
CMYKcmyk(0%, 6.7%, 41.8%, 6.3%)
CIE-LABlab(88.44, -5.99, 43.07)
CIE-LCHlch(88.44, 43.49, 97.91°)
OKLaboklab(89.83% -0.0162 0.1048)
OKLCHoklch(89.83% 0.106 98.8)
XYZxyz(66.6460, 72.9923, 34.9993)
Luminance0.7299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF8B #8B9BEF
analogous
#EFAD8B #EFDF8B #CDEF8B
triadic
#EFDF8B #8BEFDF #DF8BEF
tetradic
#EFDF8B #8BEFAD #8B9BEF #EF8BCD
square
#EFDF8B #8BEFAD #8B9BEF #EF8BCD
split-complementary
#EFDF8B #8BCDEF #AD8BEF
monochromatic
#E0C11F #E8D055 #EFDF8B #F6EEC1 #FBF8E4

Accessibility & contrast

On white

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

On black

15.60
#EFDF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF8B
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF8B#FFFFFF#000000##000000
##EFDF8B1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA85
Deuteranopia (green-blind)
#F3E18E
Tritanopia (blue-blind)
#FDD4CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf8b;
/* rgb */ color: rgb(239, 223, 139);
/* oklch */ color: oklch(89.8% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#f6e8ae',
    500: '#efdf8b',
    950: '#000000',
  },
}
SCSS
$custom: #efdf8b;
$custom-light: #f6e8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf8b",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 139
  },
  "hsl": {
    "h": 50.4,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89832,
    "c": 0.10601,
    "h": 98.8
  },
  "luminance": 0.7299
}

Semantic roles & 50–950 ramp

primary
#EFDF8B
secondary
#5467CA
accent
#2ED80E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFDF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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