#EFE978#EFE978

#EFE978 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.135 H 106.0°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#EFE978
RGBrgb(239, 233, 120)
HSLhsl(57, 79%, 70%)
HSVhsv(57, 50%, 94%)
CMYKcmyk(0%, 2.5%, 49.8%, 6.3%)
CIE-LABlab(90.77, -12.76, 55.07)
CIE-LCHlch(90.77, 56.53, 103.05°)
OKLaboklab(91.6% -0.0374 0.1301)
OKLCHoklch(91.6% 0.135 106)
XYZxyz(68.1274, 77.9865, 29.2298)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE978 #787EEF
analogous
#EFAD78 #EFE978 #B9EF78
triadic
#EFE978 #78EFE9 #E978EF
tetradic
#EFE978 #78EFAD #787EEF #EF78B9
square
#EFE978 #78EFAD #787EEF #EF78B9
split-complementary
#EFE978 #78B9EF #AD78EF
monochromatic
#D4CA19 #E9E041 #EFE978 #F5F2AF #FCFBE4

Accessibility & contrast

On white

1.27
#EFE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#EFE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE978
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE978#FFFFFF#000000##000000
##EFE9781.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E26E
Deuteranopia (green-blind)
#FCE77D
Tritanopia (blue-blind)
#FEDCCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe978;
/* rgb */ color: rgb(239, 233, 120);
/* oklch */ color: oklch(91.6% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#f6efa2',
    500: '#efe978',
    950: '#000000',
  },
}
SCSS
$custom: #efe978;
$custom-light: #f6efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#efe978",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 56.975,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91604,
    "c": 0.13542,
    "h": 106
  },
  "luminance": 0.77985
}

Semantic roles & 50–950 ramp

primary
#EFE978
secondary
#4349C9
accent
#15DB0A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE978

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

Preview Lab → · Contrast checker → · Palette generator →

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