#EFE8A4#EFE8A4

#EFE8A4 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.087 H 103.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#EFE8A4
RGBrgb(239, 232, 164)
HSLhsl(54, 70%, 79%)
HSVhsv(54, 31%, 94%)
CMYKcmyk(0%, 2.9%, 31.4%, 6.3%)
CIE-LABlab(91.12, -7.72, 34.00)
CIE-LCHlch(91.12, 34.87, 102.79°)
OKLaboklab(92.07% -0.0195 0.0848)
OKLCHoklch(92.07% 0.087 103)
XYZxyz(71.1547, 78.7458, 46.5659)
Luminance0.7874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE8A4 #A4ABEF
analogous
#EFC3A4 #EFE8A4 #D1EFA4
triadic
#EFE8A4 #A4EFE8 #E8A4EF
tetradic
#EFE8A4 #A4EFC3 #A4ABEF #EFA4D1
square
#EFE8A4 #A4EFC3 #A4ABEF #EFA4D1
split-complementary
#EFE8A4 #A4D1EF #C3A4EF
monochromatic
#DDCE3C #E6DB70 #EFE8A4 #F8F5D8 #FAF8E5

Accessibility & contrast

On white

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

On black

16.75
#EFE8A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE8A4
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE8A4#FFFFFF#000000##000000
##EFE8A41.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E39F
Deuteranopia (green-blind)
#F7E7A7
Tritanopia (blue-blind)
#FADFD6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe8a4;
/* rgb */ color: rgb(239, 232, 164);
/* oklch */ color: oklch(92.1% 0.087 103.0);
Tailwind
colors: {
  custom: {
    50: '#f5efbf',
    500: '#efe8a4',
    950: '#000000',
  },
}
SCSS
$custom: #efe8a4;
$custom-light: #f5efbf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe8a4",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 164
  },
  "hsl": {
    "h": 54.4,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.92074,
    "c": 0.08697,
    "h": 103
  },
  "luminance": 0.78744
}

Semantic roles & 50–950 ramp

primary
#EFE8A4
secondary
#6B74CC
accent
#25D213
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EFE8A4

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

Preview Lab → · Contrast checker → · Palette generator →

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