#EFEC78#EFEC78

#EFEC78 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.2% C 0.139 H 107.5°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#EFEC78
RGBrgb(239, 236, 120)
HSLhsl(58, 79%, 70%)
HSVhsv(58, 50%, 94%)
CMYKcmyk(0%, 1.3%, 49.8%, 6.3%)
CIE-LABlab(91.55, -14.24, 55.99)
CIE-LCHlch(91.55, 57.78, 104.27°)
OKLaboklab(92.22% -0.0416 0.1321)
OKLCHoklch(92.22% 0.139 107.5)
XYZxyz(68.9839, 79.6995, 29.5153)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC78 #787BEF
analogous
#EFB078 #EFEC78 #B7EF78
triadic
#EFEC78 #78EFEC #EC78EF
tetradic
#EFEC78 #78EFB0 #787BEF #EF78B7
square
#EFEC78 #78EFB0 #787BEF #EF78B7
split-complementary
#EFEC78 #78B7EF #B078EF
monochromatic
#D4CF19 #E9E441 #EFEC78 #F5F4AF #FCFBE4

Accessibility & contrast

On white

1.24
#EFEC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#EFEC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC78
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC78#FFFFFF#000000##000000
##EFEC781.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFE97E
Tritanopia (blue-blind)
#FDDFD2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efec78;
/* rgb */ color: rgb(239, 236, 120);
/* oklch */ color: oklch(92.2% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#f6f2a2',
    500: '#efec78',
    950: '#000000',
  },
}
SCSS
$custom: #efec78;
$custom-light: #f6f2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#efec78",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 58.487,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92221,
    "c": 0.13855,
    "h": 107.5
  },
  "luminance": 0.79698
}

Semantic roles & 50–950 ramp

primary
#EFEC78
secondary
#4346C9
accent
#10DB0A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EFEC78

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

Preview Lab → · Contrast checker → · Palette generator →

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