#EFE7B3#EFE7B3

#EFE7B3 is a very light, moderate yellow. Relative luminance 0.788; OKLCH L 92.2% C 0.068 H 100.3°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#EFE7B3
RGBrgb(239, 231, 179)
HSLhsl(52, 65%, 82%)
HSVhsv(52, 25%, 94%)
CMYKcmyk(0%, 3.3%, 25.1%, 6.3%)
CIE-LABlab(91.13, -5.30, 26.36)
CIE-LCHlch(91.13, 26.89, 101.37°)
OKLaboklab(92.16% -0.0121 0.0668)
OKLCHoklch(92.16% 0.068 100.3)
XYZxyz(72.3093, 78.7586, 54.0318)
Luminance0.7876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7B3 #B3BBEF
analogous
#EFC9B3 #EFE7B3 #D9EFB3
triadic
#EFE7B3 #B3EFE7 #E7B3EF
tetradic
#EFE7B3 #B3EFC9 #B3BBEF #EFB3D9
square
#EFE7B3 #B3EFC9 #B3BBEF #EFB3D9
split-complementary
#EFE7B3 #B3D9EF #C9B3EF
monochromatic
#DAC74E #E4D780 #EFE7B3 #FAF7E6 #FAF7E6

Accessibility & contrast

On white

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

On black

16.75
#EFE7B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7B3
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7B3#FFFFFF#000000##000000
##EFE7B31.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E3B0
Deuteranopia (green-blind)
#F4E7B5
Tritanopia (blue-blind)
#F8E0D9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe7b3;
/* rgb */ color: rgb(239, 231, 179);
/* oklch */ color: oklch(92.2% 0.068 100.3);
Tailwind
colors: {
  custom: {
    50: '#f4eeca',
    500: '#efe7b3',
    950: '#000000',
  },
}
SCSS
$custom: #efe7b3;
$custom-light: #f4eeca;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7b3",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 179
  },
  "hsl": {
    "h": 52,
    "s": 65.217,
    "l": 81.961
  },
  "oklch": {
    "l": 0.92164,
    "c": 0.06785,
    "h": 100.3
  },
  "luminance": 0.78757
}

Semantic roles & 50–950 ramp

primary
#EFE7B3
secondary
#7984CD
accent
#31CD18
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7B3

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

Preview Lab → · Contrast checker → · Palette generator →

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