#EFE7B2#EFE7B2

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

Color values

HEX#EFE7B2
RGBrgb(239, 231, 178)
HSLhsl(52, 66%, 82%)
HSVhsv(52, 26%, 94%)
CMYKcmyk(0%, 3.3%, 25.5%, 6.3%)
CIE-LABlab(91.11, -5.43, 26.85)
CIE-LCHlch(91.11, 27.39, 101.44°)
OKLaboklab(92.14% -0.0125 0.0679)
OKLCHoklch(92.14% 0.069 100.4)
XYZxyz(72.2086, 78.7183, 53.5011)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7B2 #B2BAEF
analogous
#EFC9B2 #EFE7B2 #D9EFB2
triadic
#EFE7B2 #B2EFE7 #E7B2EF
tetradic
#EFE7B2 #B2EFC9 #B2BAEF #EFB2D9
square
#EFE7B2 #B2EFC9 #B2BAEF #EFB2D9
split-complementary
#EFE7B2 #B2D9EF #C9B2EF
monochromatic
#DAC74D #E4D77F #EFE7B2 #FAF7E5 #FAF7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE7B2#FFFFFF#000000##000000
##EFE7B21.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)
#F1E3AF
Deuteranopia (green-blind)
#F4E7B4
Tritanopia (blue-blind)
#F8E0D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7b2;
/* rgb */ color: rgb(239, 231, 178);
/* oklch */ color: oklch(92.1% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5eec9',
    500: '#efe7b2',
    950: '#000000',
  },
}
SCSS
$custom: #efe7b2;
$custom-light: #f5eec9;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7b2",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 178
  },
  "hsl": {
    "h": 52.131,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.92143,
    "c": 0.06907,
    "h": 100.4
  },
  "luminance": 0.78717
}

Semantic roles & 50–950 ramp

primary
#EFE7B2
secondary
#7883CD
accent
#30CD18
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #EFE7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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