#EFDF89#EFDF89

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

Color values

HEX#EFDF89
RGBrgb(239, 223, 137)
HSLhsl(51, 76%, 74%)
HSVhsv(51, 43%, 94%)
CMYKcmyk(0%, 6.7%, 42.7%, 6.3%)
CIE-LABlab(88.42, -6.19, 44.03)
CIE-LCHlch(88.42, 44.46, 98.00°)
OKLaboklab(89.8% -0.0169 0.1068)
OKLCHoklch(89.8% 0.108 99)
XYZxyz(66.5012, 72.9344, 34.2368)
Luminance0.7293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF89 #8999EF
analogous
#EFAC89 #EFDF89 #CCEF89
triadic
#EFDF89 #89EFDF #DF89EF
tetradic
#EFDF89 #89EFAC #8999EF #EF89CC
square
#EFDF89 #89EFAC #8999EF #EF89CC
split-complementary
#EFDF89 #89CCEF #AC89EF
monochromatic
#DFC11E #E8D053 #EFDF89 #F6EEBF #FBF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFDF89#FFFFFF#000000##000000
##EFDF891.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)
#EEDA82
Deuteranopia (green-blind)
#F3E18C
Tritanopia (blue-blind)
#FDD4CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf89;
/* rgb */ color: rgb(239, 223, 137);
/* oklch */ color: oklch(89.8% 0.108 99.0);
Tailwind
colors: {
  custom: {
    50: '#f6e8ac',
    500: '#efdf89',
    950: '#000000',
  },
}
SCSS
$custom: #efdf89;
$custom-light: #f6e8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf89",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 50.588,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89801,
    "c": 0.10815,
    "h": 99
  },
  "luminance": 0.72932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFDF89

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

Preview Lab → · Contrast checker → · Palette generator →

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