#EFDF81#EFDF81

#EFDF81 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.117 H 99.8°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#EFDF81
RGBrgb(239, 223, 129)
HSLhsl(51, 77%, 72%)
HSVhsv(51, 46%, 94%)
CMYKcmyk(0%, 6.7%, 46%, 6.3%)
CIE-LABlab(88.31, -6.97, 47.81)
CIE-LCHlch(88.31, 48.32, 98.29°)
OKLaboklab(89.68% -0.0199 0.1148)
OKLCHoklch(89.68% 0.117 99.8)
XYZxyz(65.9485, 72.7133, 31.3258)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF81 #8191EF
analogous
#EFA881 #EFDF81 #C8EF81
triadic
#EFDF81 #81EFDF #DF81EF
tetradic
#EFDF81 #81EFA8 #8191EF #EF81C8
square
#EFDF81 #81EFA8 #8191EF #EF81C8
split-complementary
#EFDF81 #81C8EF #A881EF
monochromatic
#DABE1C #E8D14B #EFDF81 #F6EDB7 #FCF8E4

Accessibility & contrast

On white

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

On black

15.54
#EFDF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF81
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF81#FFFFFF#000000##000000
##EFDF811.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA79
Deuteranopia (green-blind)
#F4E085
Tritanopia (blue-blind)
#FED3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf81;
/* rgb */ color: rgb(239, 223, 129);
/* oklch */ color: oklch(89.7% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#f6e8a7',
    500: '#efdf81',
    950: '#000000',
  },
}
SCSS
$custom: #efdf81;
$custom-light: #f6e8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf81",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 51.273,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89683,
    "c": 0.11654,
    "h": 99.8
  },
  "luminance": 0.72711
}

Semantic roles & 50–950 ramp

primary
#EFDF81
secondary
#4B5DC9
accent
#2ADA0C
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EFDF81

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

Preview Lab → · Contrast checker → · Palette generator →

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