#EFDC97#EFDC97

#EFDC97 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.090 H 94.6°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#EFDC97
RGBrgb(239, 220, 151)
HSLhsl(47, 73%, 76%)
HSVhsv(47, 37%, 94%)
CMYKcmyk(0%, 7.9%, 36.8%, 6.3%)
CIE-LABlab(87.86, -3.18, 36.30)
CIE-LCHlch(87.86, 36.44, 95.00°)
OKLaboklab(89.43% -0.0071 0.0897)
OKLCHoklch(89.43% 0.09 94.6)
XYZxyz(66.7769, 71.7736, 39.6083)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC97 #97AAEF
analogous
#EFB097 #EFDC97 #D6EF97
triadic
#EFDC97 #97EFDC #DC97EF
tetradic
#EFDC97 #97EFB0 #97AAEF #EF97D6
square
#EFDC97 #97EFB0 #97AAEF #EF97D6
split-complementary
#EFDC97 #97D6EF #B097EF
monochromatic
#DFB82D #E7CA62 #EFDC97 #F7EECC #FBF6E4

Accessibility & contrast

On white

1.37
#EFDC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#EFDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC97
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC97#FFFFFF#000000##000000
##EFDC971.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#EFDF99
Tritanopia (blue-blind)
#FCD2CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc97;
/* rgb */ color: rgb(239, 220, 151);
/* oklch */ color: oklch(89.4% 0.090 94.6);
Tailwind
colors: {
  custom: {
    50: '#f5e6b6',
    500: '#efdc97',
    950: '#000000',
  },
}
SCSS
$custom: #efdc97;
$custom-light: #f5e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc97",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 47.045,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.89428,
    "c": 0.09,
    "h": 94.6
  },
  "luminance": 0.71771
}

Semantic roles & 50–950 ramp

primary
#EFDC97
secondary
#5F76CB
accent
#3BD510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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