#EFE7B0#EFE7B0

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

Color values

HEX#EFE7B0
RGBrgb(239, 231, 176)
HSLhsl(52, 66%, 81%)
HSVhsv(52, 26%, 94%)
CMYKcmyk(0%, 3.3%, 26.4%, 6.3%)
CIE-LABlab(91.07, -5.70, 27.82)
CIE-LCHlch(91.07, 28.40, 101.57°)
OKLaboklab(92.1% -0.0133 0.0703)
OKLCHoklch(92.1% 0.072 100.7)
XYZxyz(72.0092, 78.6385, 52.4513)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7B0 #B0B8EF
analogous
#EFC8B0 #EFE7B0 #D8EFB0
triadic
#EFE7B0 #B0EFE7 #E7B0EF
tetradic
#EFE7B0 #B0EFC8 #B0B8EF #EFB0D8
square
#EFE7B0 #B0EFC8 #B0B8EF #EFB0D8
split-complementary
#EFE7B0 #B0D8EF #C8B0EF
monochromatic
#DAC84A #E5D87D #EFE7B0 #F9F6E3 #FAF7E6

Accessibility & contrast

On white

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

On black

16.73
#EFE7B0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7B0
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7B0#FFFFFF#000000##000000
##EFE7B01.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe7b0;
/* rgb */ color: rgb(239, 231, 176);
/* oklch */ color: oklch(92.1% 0.072 100.7);
Tailwind
colors: {
  custom: {
    50: '#f5eec8',
    500: '#efe7b0',
    950: '#000000',
  },
}
SCSS
$custom: #efe7b0;
$custom-light: #f5eec8;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7b0",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 176
  },
  "hsl": {
    "h": 52.381,
    "s": 66.316,
    "l": 81.373
  },
  "oklch": {
    "l": 0.92103,
    "c": 0.07151,
    "h": 100.7
  },
  "luminance": 0.78637
}

Semantic roles & 50–950 ramp

primary
#EFE7B0
secondary
#7681CD
accent
#2FCE17
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7B0

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

Preview Lab → · Contrast checker → · Palette generator →

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