#EFE7BF#EFE7BF

#EFE7BF is a very light, muted yellow. Relative luminance 0.793; OKLCH L 92.4% C 0.053 H 97.9°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#EFE7BF
RGBrgb(239, 231, 191)
HSLhsl(50, 60%, 84%)
HSVhsv(50, 20%, 94%)
CMYKcmyk(0%, 3.3%, 20.1%, 6.3%)
CIE-LABlab(91.35, -3.64, 20.49)
CIE-LCHlch(91.35, 20.81, 100.07°)
OKLaboklab(92.42% -0.0073 0.0525)
OKLCHoklch(92.42% 0.053 97.9)
XYZxyz(73.5762, 79.2653, 60.7039)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7BF #BFC7EF
analogous
#EFCFBF #EFE7BF #DFEFBF
triadic
#EFE7BF #BFEFE7 #E7BFEF
tetradic
#EFE7BF #BFEFCF #BFC7EF #EFBFDF
square
#EFE7BF #BFEFCF #BFC7EF #EFBFDF
split-complementary
#EFE7BF #BFDFEF #CFBFEF
monochromatic
#D7C25D #E3D58E #EFE7BF #F9F6E7 #F9F6E7

Accessibility & contrast

On white

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

On black

16.85
#EFE7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7BF
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7BF#FFFFFF#000000##000000
##EFE7BF1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFE4BD
Deuteranopia (green-blind)
#F2E8C0
Tritanopia (blue-blind)
#F7E1DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe7bf;
/* rgb */ color: rgb(239, 231, 191);
/* oklch */ color: oklch(92.4% 0.053 97.9);
Tailwind
colors: {
  custom: {
    50: '#f4eed2',
    500: '#efe7bf',
    950: '#000000',
  },
}
SCSS
$custom: #efe7bf;
$custom-light: #f4eed2;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7bf",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 191
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 84.314
  },
  "oklch": {
    "l": 0.9242,
    "c": 0.053,
    "h": 97.9
  },
  "luminance": 0.79264
}

Semantic roles & 50–950 ramp

primary
#EFE7BF
secondary
#8591CD
accent
#3AC81E
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #EFE7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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