#EFD978#EFD978

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

Color values

HEX#EFD978
RGBrgb(239, 217, 120)
HSLhsl(49, 79%, 70%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 9.2%, 49.8%, 6.3%)
CIE-LABlab(86.67, -4.75, 50.16)
CIE-LCHlch(86.67, 50.38, 95.41°)
OKLaboklab(88.35% -0.0144 0.1194)
OKLCHoklch(88.35% 0.12 96.9)
XYZxyz(63.8017, 69.3350, 27.7879)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD978 #788EEF
analogous
#EF9E78 #EFD978 #C9EF78
triadic
#EFD978 #78EFD9 #D978EF
tetradic
#EFD978 #78EF9E #788EEF #EF78C9
square
#EFD978 #78EF9E #788EEF #EF78C9
split-complementary
#EFD978 #78C9EF #9E78EF
monochromatic
#D4B119 #E9CA41 #EFD978 #F5E8AF #FCF7E4

Accessibility & contrast

On white

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

On black

14.87
#EFD978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD978
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD978#FFFFFF#000000##000000
##EFD9781.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efd978;
/* rgb */ color: rgb(239, 217, 120);
/* oklch */ color: oklch(88.3% 0.120 96.9);
Tailwind
colors: {
  custom: {
    50: '#f6e4a1',
    500: '#efd978',
    950: '#000000',
  },
}
SCSS
$custom: #efd978;
$custom-light: #f6e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#efd978",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 48.908,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88348,
    "c": 0.12021,
    "h": 96.9
  },
  "luminance": 0.69332
}

Semantic roles & 50–950 ramp

primary
#EFD978
secondary
#435BC9
accent
#31DB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD978

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

Preview Lab → · Contrast checker → · Palette generator →

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