#EFDF97#EFDF97

#EFDF97 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.093 H 97.2°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#EFDF97
RGBrgb(239, 223, 151)
HSLhsl(49, 73%, 76%)
HSVhsv(49, 37%, 94%)
CMYKcmyk(0%, 6.7%, 36.8%, 6.3%)
CIE-LABlab(88.62, -4.70, 37.29)
CIE-LCHlch(88.62, 37.59, 97.18°)
OKLaboklab(90.03% -0.0115 0.092)
OKLCHoklch(90.03% 0.093 97.2)
XYZxyz(67.5714, 73.3624, 39.8731)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF97 #97A7EF
analogous
#EFB397 #EFDF97 #D3EF97
triadic
#EFDF97 #97EFDF #DF97EF
tetradic
#EFDF97 #97EFB3 #97A7EF #EF97D3
square
#EFDF97 #97EFB3 #97A7EF #EF97D3
split-complementary
#EFDF97 #97D3EF #B397EF
monochromatic
#DFBE2D #E7CF62 #EFDF97 #F7EFCC #FBF7E4

Accessibility & contrast

On white

1.34
#EFDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#EFDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF97
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF97#FFFFFF#000000##000000
##EFDF971.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB92
Deuteranopia (green-blind)
#F1E19A
Tritanopia (blue-blind)
#FCD5CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf97;
/* rgb */ color: rgb(239, 223, 151);
/* oklch */ color: oklch(90.0% 0.093 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5e8b6',
    500: '#efdf97',
    950: '#000000',
  },
}
SCSS
$custom: #efdf97;
$custom-light: #f5e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf97",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 49.091,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90029,
    "c": 0.09275,
    "h": 97.2
  },
  "luminance": 0.7336
}

Semantic roles & 50–950 ramp

primary
#EFDF97
secondary
#5F73CB
accent
#34D510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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