#EFE8A6#EFE8A6

#EFE8A6 is a very light, moderate yellow. Relative luminance 0.788; OKLCH L 92.1% C 0.085 H 102.8°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#EFE8A6
RGBrgb(239, 232, 166)
HSLhsl(54, 70%, 79%)
HSVhsv(54, 31%, 94%)
CMYKcmyk(0%, 2.9%, 30.5%, 6.3%)
CIE-LABlab(91.15, -7.47, 33.03)
CIE-LCHlch(91.15, 33.87, 102.75°)
OKLaboklab(92.11% -0.0187 0.0825)
OKLCHoklch(92.11% 0.085 102.8)
XYZxyz(71.3367, 78.8186, 47.5246)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE8A6 #A6ADEF
analogous
#EFC4A6 #EFE8A6 #D2EFA6
triadic
#EFE8A6 #A6EFE8 #E8A6EF
tetradic
#EFE8A6 #A6EFC4 #A6ADEF #EFA6D2
square
#EFE8A6 #A6EFC4 #A6ADEF #EFA6D2
split-complementary
#EFE8A6 #A6D2EF #C4A6EF
monochromatic
#DCCD3E #E6DB72 #EFE8A6 #F8F5DA #FAF8E5

Accessibility & contrast

On white

1.25
#EFE8A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#EFE8A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE8A6
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE8A6#FFFFFF#000000##000000
##EFE8A61.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E3A2
Deuteranopia (green-blind)
#F6E7A8
Tritanopia (blue-blind)
#FADFD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe8a6;
/* rgb */ color: rgb(239, 232, 166);
/* oklch */ color: oklch(92.1% 0.085 102.8);
Tailwind
colors: {
  custom: {
    50: '#f5efc1',
    500: '#efe8a6',
    950: '#000000',
  },
}
SCSS
$custom: #efe8a6;
$custom-light: #f5efc1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe8a6",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 166
  },
  "hsl": {
    "h": 54.247,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.92111,
    "c": 0.08461,
    "h": 102.8
  },
  "luminance": 0.78817
}

Semantic roles & 50–950 ramp

primary
#EFE8A6
secondary
#6D76CC
accent
#26D214
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EFE8A6

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

Preview Lab → · Contrast checker → · Palette generator →

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