#EFE8A2#EFE8A2

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

Color values

HEX#EFE8A2
RGBrgb(239, 232, 162)
HSLhsl(55, 71%, 79%)
HSVhsv(55, 32%, 94%)
CMYKcmyk(0%, 2.9%, 32.2%, 6.3%)
CIE-LABlab(91.09, -7.96, 34.97)
CIE-LCHlch(91.09, 35.87, 102.82°)
OKLaboklab(92.04% -0.0203 0.087)
OKLCHoklch(92.04% 0.089 103.1)
XYZxyz(70.9755, 78.6741, 45.6222)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE8A2 #A2A9EF
analogous
#EFC1A2 #EFE8A2 #CFEFA2
triadic
#EFE8A2 #A2EFE8 #E8A2EF
tetradic
#EFE8A2 #A2EFC1 #A2A9EF #EFA2CF
square
#EFE8A2 #A2EFC1 #A2A9EF #EFA2CF
split-complementary
#EFE8A2 #A2CFEF #C1A2EF
monochromatic
#DDCE3A #E6DB6E #EFE8A2 #F8F5D6 #FBF9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE8A2#FFFFFF#000000##000000
##EFE8A21.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe8a2;
/* rgb */ color: rgb(239, 232, 162);
/* oklch */ color: oklch(92.0% 0.089 103.1);
Tailwind
colors: {
  custom: {
    50: '#f5efbe',
    500: '#efe8a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe8a2;
$custom-light: #f5efbe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe8a2",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 162
  },
  "hsl": {
    "h": 54.545,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92037,
    "c": 0.08932,
    "h": 103.1
  },
  "luminance": 0.78673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFE8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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