#EFEF9B#EFEF9B

#EFEF9B is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.105 H 108.3°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#EFEF9B
RGBrgb(239, 239, 155)
HSLhsl(60, 72%, 77%)
HSVhsv(60, 35%, 94%)
CMYKcmyk(0%, 0%, 35.1%, 6.3%)
CIE-LABlab(92.77, -12.26, 40.69)
CIE-LCHlch(92.77, 42.49, 106.77°)
OKLaboklab(93.34% -0.033 0.1)
OKLCHoklch(93.34% 0.105 108.3)
XYZxyz(72.3803, 82.4516, 43.1059)
Luminance0.8245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF9B #9B9BEF
analogous
#EFC59B #EFEF9B #C5EF9B
triadic
#EFEF9B #9BEFEF #EF9BEF
tetradic
#EFEF9B #9BEFC5 #9B9BEF #EF9BC5
square
#EFEF9B #9BEFC5 #9B9BEF #EF9BC5
split-complementary
#EFEF9B #9BC5EF #C59BEF
monochromatic
#DEDE31 #E7E766 #EFEF9B #F7F7D0 #FBFBE5

Accessibility & contrast

On white

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

On black

17.49
#EFEF9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF9B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF9B#FFFFFF#000000##000000
##EFEF9B1.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE895
Deuteranopia (green-blind)
#FDEC9F
Tritanopia (blue-blind)
#FAE5DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef9b;
/* rgb */ color: rgb(239, 239, 155);
/* oklch */ color: oklch(93.3% 0.105 108.3);
Tailwind
colors: {
  custom: {
    50: '#f5f4b9',
    500: '#efef9b',
    950: '#000000',
  },
}
SCSS
$custom: #efef9b;
$custom-light: #f5f4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#efef9b",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 155
  },
  "hsl": {
    "h": 60,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9334,
    "c": 0.10535,
    "h": 108.3
  },
  "luminance": 0.8245
}

Semantic roles & 50–950 ramp

primary
#EFEF9B
secondary
#6262CC
accent
#11D411
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF9B

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

Preview Lab → · Contrast checker → · Palette generator →

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