#EFEB8A#EFEB8A

#EFEB8A is a very light, moderate yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.119 H 106.5°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#EFEB8A
RGBrgb(239, 235, 138)
HSLhsl(58, 76%, 74%)
HSVhsv(58, 42%, 94%)
CMYKcmyk(0%, 1.7%, 42.3%, 6.3%)
CIE-LABlab(91.51, -12.09, 47.42)
CIE-LCHlch(91.51, 48.93, 104.30°)
OKLaboklab(92.26% -0.0338 0.1145)
OKLCHoklch(92.26% 0.119 106.5)
XYZxyz(69.8937, 79.6040, 35.7231)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEB8A #8A8EEF
analogous
#EFB98A #EFEB8A #C1EF8A
triadic
#EFEB8A #8AEFEB #EB8AEF
tetradic
#EFEB8A #8AEFB9 #8A8EEF #EF8AC1
square
#EFEB8A #8AEFB9 #8A8EEF #EF8AC1
split-complementary
#EFEB8A #8AC1EF #B98AEF
monochromatic
#E0D81F #E8E254 #EFEB8A #F6F4C0 #FBFAE4

Accessibility & contrast

On white

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

On black

16.92
#EFEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEB8A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEB8A#FFFFFF#000000##000000
##EFEB8A1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE482
Deuteranopia (green-blind)
#FCE98E
Tritanopia (blue-blind)
#FCE0D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efeb8a;
/* rgb */ color: rgb(239, 235, 138);
/* oklch */ color: oklch(92.3% 0.119 106.5);
Tailwind
colors: {
  custom: {
    50: '#f6f1ae',
    500: '#efeb8a',
    950: '#000000',
  },
}
SCSS
$custom: #efeb8a;
$custom-light: #f6f1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#efeb8a",
  "rgb": {
    "r": 239,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 57.624,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92257,
    "c": 0.1194,
    "h": 106.5
  },
  "luminance": 0.79602
}

Semantic roles & 50–950 ramp

primary
#EFEB8A
secondary
#5358CA
accent
#15D80D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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