#EFD977#EFD977

#EFD977 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.121 H 97.0°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#EFD977
RGBrgb(239, 217, 119)
HSLhsl(49, 79%, 70%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 9.2%, 50.2%, 6.3%)
CIE-LABlab(86.66, -4.84, 50.62)
CIE-LCHlch(86.66, 50.85, 95.46°)
OKLaboklab(88.34% -0.0147 0.1203)
OKLCHoklch(88.34% 0.121 97)
XYZxyz(63.7413, 69.3109, 27.4700)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD977 #778DEF
analogous
#EF9D77 #EFD977 #C9EF77
triadic
#EFD977 #77EFD9 #D977EF
tetradic
#EFD977 #77EF9D #778DEF #EF77C9
square
#EFD977 #77EF9D #778DEF #EF77C9
split-complementary
#EFD977 #77C9EF #9D77EF
monochromatic
#D3B119 #E9CA40 #EFD977 #F5E8AE #FCF7E4

Accessibility & contrast

On white

1.41
#EFD977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#EFD977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD977
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD977#FFFFFF#000000##000000
##EFD9771.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD56E
Deuteranopia (green-blind)
#F0DC7B
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd977;
/* rgb */ color: rgb(239, 217, 119);
/* oklch */ color: oklch(88.3% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#f6e4a0',
    500: '#efd977',
    950: '#000000',
  },
}
SCSS
$custom: #efd977;
$custom-light: #f6e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#efd977",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 49,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88335,
    "c": 0.12119,
    "h": 97
  },
  "luminance": 0.69308
}

Semantic roles & 50–950 ramp

primary
#EFD977
secondary
#425AC8
accent
#31DB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD977

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

Preview Lab → · Contrast checker → · Palette generator →

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