#EFE8A1#EFE8A1

#EFE8A1 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.090 H 103.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#EFE8A1
RGBrgb(239, 232, 161)
HSLhsl(55, 71%, 78%)
HSVhsv(55, 33%, 94%)
CMYKcmyk(0%, 2.9%, 32.6%, 6.3%)
CIE-LABlab(91.07, -8.08, 35.46)
CIE-LCHlch(91.07, 36.37, 102.83°)
OKLaboklab(92.02% -0.0207 0.0881)
OKLCHoklch(92.02% 0.09 103.2)
XYZxyz(70.8870, 78.6387, 45.1559)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE8A1 #A1A8EF
analogous
#EFC1A1 #EFE8A1 #CFEFA1
triadic
#EFE8A1 #A1EFE8 #E8A1EF
tetradic
#EFE8A1 #A1EFC1 #A1A8EF #EFA1CF
square
#EFE8A1 #A1EFC1 #A1A8EF #EFA1CF
split-complementary
#EFE8A1 #A1CFEF #C1A1EF
monochromatic
#DDCE38 #E6DB6D #EFE8A1 #F8F5D5 #FBF9E5

Accessibility & contrast

On white

1.26
#EFE8A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#EFE8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE8A1
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE8A1#FFFFFF#000000##000000
##EFE8A11.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E39C
Deuteranopia (green-blind)
#F7E7A4
Tritanopia (blue-blind)
#FADFD6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe8a1;
/* rgb */ color: rgb(239, 232, 161);
/* oklch */ color: oklch(92.0% 0.090 103.2);
Tailwind
colors: {
  custom: {
    50: '#f5efbd',
    500: '#efe8a1',
    950: '#000000',
  },
}
SCSS
$custom: #efe8a1;
$custom-light: #f5efbd;
$custom-dark: #000000;
JSON
{
  "hex": "#efe8a1",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 161
  },
  "hsl": {
    "h": 54.615,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92019,
    "c": 0.09048,
    "h": 103.2
  },
  "luminance": 0.78637
}

Semantic roles & 50–950 ramp

primary
#EFE8A1
secondary
#6871CC
accent
#24D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EFE8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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