#EFE7AF#EFE7AF

#EFE7AF is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.1% C 0.073 H 100.9°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#EFE7AF
RGBrgb(239, 231, 175)
HSLhsl(53, 67%, 81%)
HSVhsv(53, 27%, 94%)
CMYKcmyk(0%, 3.3%, 26.8%, 6.3%)
CIE-LABlab(91.05, -5.83, 28.31)
CIE-LCHlch(91.05, 28.90, 101.63°)
OKLaboklab(92.08% -0.0137 0.0714)
OKLCHoklch(92.08% 0.073 100.9)
XYZxyz(71.9107, 78.5991, 51.9321)
Luminance0.7860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7AF #AFB7EF
analogous
#EFC7AF #EFE7AF #D7EFAF
triadic
#EFE7AF #AFEFE7 #E7AFEF
tetradic
#EFE7AF #AFEFC7 #AFB7EF #EFAFD7
square
#EFE7AF #AFEFC7 #AFB7EF #EFAFD7
split-complementary
#EFE7AF #AFD7EF #C7AFEF
monochromatic
#DBC849 #E5D87C #EFE7AF #F9F6E2 #FAF7E5

Accessibility & contrast

On white

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

On black

16.72
#EFE7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7AF
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7AF#FFFFFF#000000##000000
##EFE7AF1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E3AB
Deuteranopia (green-blind)
#F4E7B1
Tritanopia (blue-blind)
#F9DFD8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7af;
/* rgb */ color: rgb(239, 231, 175);
/* oklch */ color: oklch(92.1% 0.073 100.9);
Tailwind
colors: {
  custom: {
    50: '#f5eec7',
    500: '#efe7af',
    950: '#000000',
  },
}
SCSS
$custom: #efe7af;
$custom-light: #f5eec7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7af",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 175
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.92083,
    "c": 0.07272,
    "h": 100.9
  },
  "luminance": 0.78598
}

Semantic roles & 50–950 ramp

primary
#EFE7AF
secondary
#7580CD
accent
#2ECF17
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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