#EFE4AC#EFE4AC

#EFE4AC is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.073 H 98.3°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#EFE4AC
RGBrgb(239, 228, 172)
HSLhsl(50, 68%, 81%)
HSVhsv(50, 28%, 94%)
CMYKcmyk(0%, 4.6%, 28%, 6.3%)
CIE-LABlab(90.24, -4.70, 28.74)
CIE-LCHlch(90.24, 29.13, 99.29°)
OKLaboklab(91.42% -0.0105 0.0724)
OKLCHoklch(91.42% 0.073 98.3)
XYZxyz(70.7868, 76.8176, 50.1201)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE4AC #ACB7EF
analogous
#EFC2AC #EFE4AC #D8EFAC
triadic
#EFE4AC #ACEFE4 #E4ACEF
tetradic
#EFE4AC #ACEFC2 #ACB7EF #EFACD8
square
#EFE4AC #ACEFC2 #ACB7EF #EFACD8
split-complementary
#EFE4AC #ACD8EF #C2ACEF
monochromatic
#DBC345 #E5D379 #EFE4AC #F9F5DF #FAF7E5

Accessibility & contrast

On white

1.28
#EFE4AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#EFE4AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE4AC
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE4AC#FFFFFF#000000##000000
##EFE4AC1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFE1A8
Deuteranopia (green-blind)
#F2E5AE
Tritanopia (blue-blind)
#F9DCD5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe4ac;
/* rgb */ color: rgb(239, 228, 172);
/* oklch */ color: oklch(91.4% 0.073 98.3);
Tailwind
colors: {
  custom: {
    50: '#f5ecc5',
    500: '#efe4ac',
    950: '#000000',
  },
}
SCSS
$custom: #efe4ac;
$custom-light: #f5ecc5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe4ac",
  "rgb": {
    "r": 239,
    "g": 228,
    "b": 172
  },
  "hsl": {
    "h": 50.149,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.91421,
    "c": 0.07317,
    "h": 98.3
  },
  "luminance": 0.76816
}

Semantic roles & 50–950 ramp

primary
#EFE4AC
secondary
#7281CD
accent
#34D016
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171613
muted
#858482

Preview Lab

Preview with #EFE4AC

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

Preview Lab → · Contrast checker → · Palette generator →

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