#EFE7B1#EFE7B1

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

Color values

HEX#EFE7B1
RGBrgb(239, 231, 177)
HSLhsl(52, 66%, 82%)
HSVhsv(52, 26%, 94%)
CMYKcmyk(0%, 3.3%, 25.9%, 6.3%)
CIE-LABlab(91.09, -5.57, 27.33)
CIE-LCHlch(91.09, 27.90, 101.51°)
OKLaboklab(92.12% -0.0129 0.0691)
OKLCHoklch(92.12% 0.07 100.6)
XYZxyz(72.1085, 78.6782, 52.9743)
Luminance0.7868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7B1 #B1B9EF
analogous
#EFC8B1 #EFE7B1 #D8EFB1
triadic
#EFE7B1 #B1EFE7 #E7B1EF
tetradic
#EFE7B1 #B1EFC8 #B1B9EF #EFB1D8
square
#EFE7B1 #B1EFC8 #B1B9EF #EFB1D8
split-complementary
#EFE7B1 #B1D8EF #C8B1EF
monochromatic
#DAC84B #E5D77E #EFE7B1 #F9F7E4 #FAF7E6

Accessibility & contrast

On white

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

On black

16.74
#EFE7B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7B1
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7B1#FFFFFF#000000##000000
##EFE7B11.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe7b1;
/* rgb */ color: rgb(239, 231, 177);
/* oklch */ color: oklch(92.1% 0.070 100.6);
Tailwind
colors: {
  custom: {
    50: '#f5eec8',
    500: '#efe7b1',
    950: '#000000',
  },
}
SCSS
$custom: #efe7b1;
$custom-light: #f5eec8;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7b1",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 177
  },
  "hsl": {
    "h": 52.258,
    "s": 65.957,
    "l": 81.569
  },
  "oklch": {
    "l": 0.92123,
    "c": 0.0703,
    "h": 100.6
  },
  "luminance": 0.78677
}

Semantic roles & 50–950 ramp

primary
#EFE7B1
secondary
#7782CD
accent
#2FCE18
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7B1

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

Preview Lab → · Contrast checker → · Palette generator →

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