#EFDF8A#EFDF8A

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

Color values

HEX#EFDF8A
RGBrgb(239, 223, 138)
HSLhsl(50, 76%, 74%)
HSVhsv(50, 42%, 94%)
CMYKcmyk(0%, 6.7%, 42.3%, 6.3%)
CIE-LABlab(88.43, -6.09, 43.55)
CIE-LCHlch(88.43, 43.97, 97.96°)
OKLaboklab(89.82% -0.0165 0.1058)
OKLCHoklch(89.82% 0.107 98.9)
XYZxyz(66.5732, 72.9632, 34.6163)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF8A #8A9AEF
analogous
#EFAD8A #EFDF8A #CDEF8A
triadic
#EFDF8A #8AEFDF #DF8AEF
tetradic
#EFDF8A #8AEFAD #8A9AEF #EF8ACD
square
#EFDF8A #8AEFAD #8A9AEF #EF8ACD
split-complementary
#EFDF8A #8ACDEF #AD8AEF
monochromatic
#E0C11F #E8D054 #EFDF8A #F6EEC0 #FBF8E4

Accessibility & contrast

On white

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

On black

15.59
#EFDF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF8A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF8A#FFFFFF#000000##000000
##EFDF8A1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efdf8a;
/* rgb */ color: rgb(239, 223, 138);
/* oklch */ color: oklch(89.8% 0.107 98.9);
Tailwind
colors: {
  custom: {
    50: '#f6e8ad',
    500: '#efdf8a',
    950: '#000000',
  },
}
SCSS
$custom: #efdf8a;
$custom-light: #f6e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf8a",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 50.495,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89817,
    "c": 0.10709,
    "h": 98.9
  },
  "luminance": 0.72961
}

Semantic roles & 50–950 ramp

primary
#EFDF8A
secondary
#5366CA
accent
#2DD80D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFDF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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