#EFEF8B#EFEF8B

#EFEF8B is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.1% C 0.123 H 108.6°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#EFEF8B
RGBrgb(239, 239, 139)
HSLhsl(60, 76%, 74%)
HSVhsv(60, 42%, 94%)
CMYKcmyk(0%, 0%, 41.8%, 6.3%)
CIE-LABlab(92.55, -13.96, 48.24)
CIE-LCHlch(92.55, 50.22, 106.14°)
OKLaboklab(93.09% -0.0391 0.1164)
OKLCHoklch(93.09% 0.123 108.6)
XYZxyz(71.1245, 81.9493, 36.4922)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF8B #8B8BEF
analogous
#EFBD8B #EFEF8B #BDEF8B
triadic
#EFEF8B #8BEFEF #EF8BEF
tetradic
#EFEF8B #8BEFBD #8B8BEF #EF8BBD
square
#EFEF8B #8BEFBD #8B8BEF #EF8BBD
split-complementary
#EFEF8B #8BBDEF #BD8BEF
monochromatic
#E0E01F #E8E855 #EFEF8B #F6F6C1 #FBFBE4

Accessibility & contrast

On white

1.21
#EFEF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#EFEF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF8B
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF8B#FFFFFF#000000##000000
##EFEF8B1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE883
Deuteranopia (green-blind)
#FFEB90
Tritanopia (blue-blind)
#FCE4D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef8b;
/* rgb */ color: rgb(239, 239, 139);
/* oklch */ color: oklch(93.1% 0.123 108.6);
Tailwind
colors: {
  custom: {
    50: '#f6f4ae',
    500: '#efef8b',
    950: '#000000',
  },
}
SCSS
$custom: #efef8b;
$custom-light: #f6f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#efef8b",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93092,
    "c": 0.1228,
    "h": 108.6
  },
  "luminance": 0.81948
}

Semantic roles & 50–950 ramp

primary
#EFEF8B
secondary
#5454CA
accent
#0ED80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EFEF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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