#EFEF96#EFEF96

#EFEF96 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.111 H 108.4°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#EFEF96
RGBrgb(239, 239, 150)
HSLhsl(60, 74%, 76%)
HSVhsv(60, 37%, 94%)
CMYKcmyk(0%, 0%, 37.2%, 6.3%)
CIE-LABlab(92.70, -12.81, 43.06)
CIE-LCHlch(92.70, 44.93, 106.57°)
OKLaboklab(93.26% -0.035 0.1053)
OKLCHoklch(93.26% 0.111 108.4)
XYZxyz(71.9690, 82.2871, 40.9400)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF96 #9696EF
analogous
#EFC396 #EFEF96 #C3EF96
triadic
#EFEF96 #96EFEF #EF96EF
tetradic
#EFEF96 #96EFC3 #9696EF #EF96C3
square
#EFEF96 #96EFC3 #9696EF #EF96C3
split-complementary
#EFEF96 #96C3EF #C396EF
monochromatic
#DFDF2C #E7E761 #EFEF96 #F7F7CB #FBFBE4

Accessibility & contrast

On white

1.20
#EFEF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#EFEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF96
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF96#FFFFFF#000000##000000
##EFEF961.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#FEEC9A
Tritanopia (blue-blind)
#FBE5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef96;
/* rgb */ color: rgb(239, 239, 150);
/* oklch */ color: oklch(93.3% 0.111 108.4);
Tailwind
colors: {
  custom: {
    50: '#f5f4b6',
    500: '#efef96',
    950: '#000000',
  },
}
SCSS
$custom: #efef96;
$custom-light: #f5f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efef96",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93259,
    "c": 0.11093,
    "h": 108.4
  },
  "luminance": 0.82286
}

Semantic roles & 50–950 ramp

primary
#EFEF96
secondary
#5E5ECB
accent
#10D610
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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