#EFDC78#EFDC78

#EFDC78 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.123 H 98.8°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#EFDC78
RGBrgb(239, 220, 120)
HSLhsl(50, 79%, 70%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 7.9%, 49.8%, 6.3%)
CIE-LABlab(87.43, -6.27, 51.08)
CIE-LCHlch(87.43, 51.46, 97.00°)
OKLaboklab(88.95% -0.0188 0.1214)
OKLCHoklch(88.95% 0.123 98.8)
XYZxyz(64.5820, 70.8956, 28.0480)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC78 #788BEF
analogous
#EFA078 #EFDC78 #C7EF78
triadic
#EFDC78 #78EFDC #DC78EF
tetradic
#EFDC78 #78EFA0 #788BEF #EF78C7
square
#EFDC78 #78EFA0 #788BEF #EF78C7
split-complementary
#EFDC78 #78C7EF #A078EF
monochromatic
#D4B619 #E9CE41 #EFDC78 #F5EAAF #FCF8E4

Accessibility & contrast

On white

1.38
#EFDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#EFDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC78
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC78#FFFFFF#000000##000000
##EFDC781.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FECFC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdc78;
/* rgb */ color: rgb(239, 220, 120);
/* oklch */ color: oklch(89.0% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#f6e6a1',
    500: '#efdc78',
    950: '#000000',
  },
}
SCSS
$custom: #efdc78;
$custom-light: #f6e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc78",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 50.42,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88953,
    "c": 0.12282,
    "h": 98.8
  },
  "luminance": 0.70893
}

Semantic roles & 50–950 ramp

primary
#EFDC78
secondary
#4358C9
accent
#2CDB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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