#EFDF78#EFDF78

#EFDF78 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.126 H 100.6°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#EFDF78
RGBrgb(239, 223, 120)
HSLhsl(52, 79%, 70%)
HSVhsv(52, 50%, 94%)
CMYKcmyk(0%, 6.7%, 49.8%, 6.3%)
CIE-LABlab(88.20, -7.78, 52.00)
CIE-LCHlch(88.20, 52.58, 98.51°)
OKLaboklab(89.56% -0.0231 0.1234)
OKLCHoklch(89.56% 0.126 100.6)
XYZxyz(65.3764, 72.4844, 28.3128)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF78 #7888EF
analogous
#EFA378 #EFDF78 #C3EF78
triadic
#EFDF78 #78EFDF #DF78EF
tetradic
#EFDF78 #78EFA3 #7888EF #EF78C3
square
#EFDF78 #78EFA3 #7888EF #EF78C3
split-complementary
#EFDF78 #78C3EF #A378EF
monochromatic
#D4BA19 #E9D241 #EFDF78 #F5ECAF #FCF9E4

Accessibility & contrast

On white

1.36
#EFDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#EFDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF78
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF78#FFFFFF#000000##000000
##EFDF781.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F5E07D
Tritanopia (blue-blind)
#FED2C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #efdf78;
/* rgb */ color: rgb(239, 223, 120);
/* oklch */ color: oklch(89.6% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#f6e8a1',
    500: '#efdf78',
    950: '#000000',
  },
}
SCSS
$custom: #efdf78;
$custom-light: #f6e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf78",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 51.933,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89561,
    "c": 0.12556,
    "h": 100.6
  },
  "luminance": 0.72482
}

Semantic roles & 50–950 ramp

primary
#EFDF78
secondary
#4355C9
accent
#26DB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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