#EFE7BB#EFE7BB

#EFE7BB is a very light, muted yellow. Relative luminance 0.791; OKLCH L 92.3% C 0.058 H 98.8°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#EFE7BB
RGBrgb(239, 231, 187)
HSLhsl(51, 62%, 84%)
HSVhsv(51, 22%, 94%)
CMYKcmyk(0%, 3.3%, 21.8%, 6.3%)
CIE-LABlab(91.28, -4.20, 22.44)
CIE-LCHlch(91.28, 22.83, 100.61°)
OKLaboklab(92.33% -0.0089 0.0573)
OKLCHoklch(92.33% 0.058 98.8)
XYZxyz(73.1420, 79.0916, 58.4172)
Luminance0.7909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7BB #BBC3EF
analogous
#EFCDBB #EFE7BB #DDEFBB
triadic
#EFE7BB #BBEFE7 #E7BBEF
tetradic
#EFE7BB #BBEFCD #BBC3EF #EFBBDD
square
#EFE7BB #BBEFCD #BBC3EF #EFBBDD
split-complementary
#EFE7BB #BBDDEF #CDBBEF
monochromatic
#D8C458 #E3D689 #EFE7BB #F9F6E6 #F9F6E6

Accessibility & contrast

On white

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

On black

16.82
#EFE7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7BB
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7BB#FFFFFF#000000##000000
##EFE7BB1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E4B8
Deuteranopia (green-blind)
#F2E7BC
Tritanopia (blue-blind)
#F7E1DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe7bb;
/* rgb */ color: rgb(239, 231, 187);
/* oklch */ color: oklch(92.3% 0.058 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4eecf',
    500: '#efe7bb',
    950: '#000000',
  },
}
SCSS
$custom: #efe7bb;
$custom-light: #f4eecf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7bb",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 187
  },
  "hsl": {
    "h": 50.769,
    "s": 61.905,
    "l": 83.529
  },
  "oklch": {
    "l": 0.92332,
    "c": 0.05798,
    "h": 98.8
  },
  "luminance": 0.7909
}

Semantic roles & 50–950 ramp

primary
#EFE7BB
secondary
#818DCD
accent
#37CA1C
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #EFE7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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