#EFDE97#EFDE97

#EFDE97 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.8% C 0.092 H 96.3°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#EFDE97
RGBrgb(239, 222, 151)
HSLhsl(48, 73%, 76%)
HSVhsv(48, 37%, 94%)
CMYKcmyk(0%, 7.1%, 36.8%, 6.3%)
CIE-LABlab(88.37, -4.19, 36.96)
CIE-LCHlch(88.37, 37.20, 96.47°)
OKLaboklab(89.83% -0.0101 0.0913)
OKLCHoklch(89.83% 0.092 96.3)
XYZxyz(67.3050, 72.8297, 39.7843)
Luminance0.7283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDE97 #97A8EF
analogous
#EFB297 #EFDE97 #D4EF97
triadic
#EFDE97 #97EFDE #DE97EF
tetradic
#EFDE97 #97EFB2 #97A8EF #EF97D4
square
#EFDE97 #97EFB2 #97A8EF #EF97D4
split-complementary
#EFDE97 #97D4EF #B297EF
monochromatic
#DFBC2D #E7CD62 #EFDE97 #F7EFCC #FBF7E4

Accessibility & contrast

On white

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

On black

15.57
#EFDE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDE97
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDE97#FFFFFF#000000##000000
##EFDE971.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA92
Deuteranopia (green-blind)
#F0E09A
Tritanopia (blue-blind)
#FCD4CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efde97;
/* rgb */ color: rgb(239, 222, 151);
/* oklch */ color: oklch(89.8% 0.092 96.3);
Tailwind
colors: {
  custom: {
    50: '#f5e8b6',
    500: '#efde97',
    950: '#000000',
  },
}
SCSS
$custom: #efde97;
$custom-light: #f5e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efde97",
  "rgb": {
    "r": 239,
    "g": 222,
    "b": 151
  },
  "hsl": {
    "h": 48.409,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.89828,
    "c": 0.09182,
    "h": 96.3
  },
  "luminance": 0.72828
}

Semantic roles & 50–950 ramp

primary
#EFDE97
secondary
#5F74CB
accent
#36D510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFDE97

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

Preview Lab → · Contrast checker → · Palette generator →

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