#EFE8AC#EFE8AC

#EFE8AC is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 92.2% C 0.077 H 102.2°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#EFE8AC
RGBrgb(239, 232, 172)
HSLhsl(54, 68%, 81%)
HSVhsv(54, 28%, 94%)
CMYKcmyk(0%, 2.9%, 28%, 6.3%)
CIE-LABlab(91.25, -6.72, 30.12)
CIE-LCHlch(91.25, 30.86, 102.58°)
OKLaboklab(92.23% -0.0163 0.0757)
OKLCHoklch(92.23% 0.077 102.2)
XYZxyz(71.9000, 79.0439, 50.4911)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE8AC #ACB3EF
analogous
#EFC6AC #EFE8AC #D4EFAC
triadic
#EFE8AC #ACEFE8 #E8ACEF
tetradic
#EFE8AC #ACEFC6 #ACB3EF #EFACD4
square
#EFE8AC #ACEFC6 #ACB3EF #EFACD4
split-complementary
#EFE8AC #ACD4EF #C6ACEF
monochromatic
#DBCC45 #E5DA79 #EFE8AC #F9F6DF #FAF8E5

Accessibility & contrast

On white

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

On black

16.81
#EFE8AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE8AC
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE8AC#FFFFFF#000000##000000
##EFE8AC1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E4A8
Deuteranopia (green-blind)
#F6E8AE
Tritanopia (blue-blind)
#F9E0D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe8ac;
/* rgb */ color: rgb(239, 232, 172);
/* oklch */ color: oklch(92.2% 0.077 102.2);
Tailwind
colors: {
  custom: {
    50: '#f5efc5',
    500: '#efe8ac',
    950: '#000000',
  },
}
SCSS
$custom: #efe8ac;
$custom-light: #f5efc5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe8ac",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 172
  },
  "hsl": {
    "h": 53.731,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.92225,
    "c": 0.07745,
    "h": 102.2
  },
  "luminance": 0.79043
}

Semantic roles & 50–950 ramp

primary
#EFE8AC
secondary
#727CCD
accent
#29D016
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE8AC

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

Preview Lab → · Contrast checker → · Palette generator →

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