#EFE7AC#EFE7AC

#EFE7AC is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.076 H 101.3°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#EFE7AC
RGBrgb(239, 231, 172)
HSLhsl(53, 68%, 81%)
HSVhsv(53, 28%, 94%)
CMYKcmyk(0%, 3.3%, 28%, 6.3%)
CIE-LABlab(91.00, -6.22, 29.77)
CIE-LCHlch(91.00, 30.42, 101.79°)
OKLaboklab(92.02% -0.0149 0.0749)
OKLCHoklch(92.02% 0.076 101.3)
XYZxyz(71.6193, 78.4825, 50.3976)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7AC #ACB4EF
analogous
#EFC5AC #EFE7AC #D5EFAC
triadic
#EFE7AC #ACEFE7 #E7ACEF
tetradic
#EFE7AC #ACEFC5 #ACB4EF #EFACD5
square
#EFE7AC #ACEFC5 #ACB4EF #EFACD5
split-complementary
#EFE7AC #ACD5EF #C5ACEF
monochromatic
#DBC945 #E5D879 #EFE7AC #F9F6DF #FAF8E5

Accessibility & contrast

On white

1.26
#EFE7AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#EFE7AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7AC
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7AC#FFFFFF#000000##000000
##EFE7AC1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E3A8
Deuteranopia (green-blind)
#F5E7AE
Tritanopia (blue-blind)
#F9DFD7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7ac;
/* rgb */ color: rgb(239, 231, 172);
/* oklch */ color: oklch(92.0% 0.076 101.3);
Tailwind
colors: {
  custom: {
    50: '#f5eec5',
    500: '#efe7ac',
    950: '#000000',
  },
}
SCSS
$custom: #efe7ac;
$custom-light: #f5eec5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7ac",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 172
  },
  "hsl": {
    "h": 52.836,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.92023,
    "c": 0.07635,
    "h": 101.3
  },
  "luminance": 0.78481
}

Semantic roles & 50–950 ramp

primary
#EFE7AC
secondary
#727DCD
accent
#2CD016
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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