#EFDA97#EFDA97

#EFDA97 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 89.0% C 0.088 H 92.7°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#EFDA97
RGBrgb(239, 218, 151)
HSLhsl(46, 73%, 76%)
HSVhsv(46, 37%, 94%)
CMYKcmyk(0%, 8.8%, 36.8%, 6.3%)
CIE-LABlab(87.35, -2.16, 35.63)
CIE-LCHlch(87.35, 35.70, 93.46°)
OKLaboklab(89.03% -0.0042 0.0882)
OKLCHoklch(89.03% 0.088 92.7)
XYZxyz(66.2552, 70.7301, 39.4344)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDA97 #97ACEF
analogous
#EFAE97 #EFDA97 #D8EF97
triadic
#EFDA97 #97EFDA #DA97EF
tetradic
#EFDA97 #97EFAE #97ACEF #EF97D8
square
#EFDA97 #97EFAE #97ACEF #EF97D8
split-complementary
#EFDA97 #97D8EF #AE97EF
monochromatic
#DFB42D #E7C762 #EFDA97 #F7EDCC #FBF6E4

Accessibility & contrast

On white

1.39
#EFDA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#EFDA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDA97
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDA97#FFFFFF#000000##000000
##EFDA971.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#EDDE99
Tritanopia (blue-blind)
#FCD0C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efda97;
/* rgb */ color: rgb(239, 218, 151);
/* oklch */ color: oklch(89.0% 0.088 92.7);
Tailwind
colors: {
  custom: {
    50: '#f5e5b6',
    500: '#efda97',
    950: '#000000',
  },
}
SCSS
$custom: #efda97;
$custom-light: #f5e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efda97",
  "rgb": {
    "r": 239,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 45.682,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.89029,
    "c": 0.08828,
    "h": 92.7
  },
  "luminance": 0.70728
}

Semantic roles & 50–950 ramp

primary
#EFDA97
secondary
#5F79CB
accent
#3FD510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDA97

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

Preview Lab → · Contrast checker → · Palette generator →

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