#EFE7BA#EFE7BA

#EFE7BA is a very light, muted yellow. Relative luminance 0.790; OKLCH L 92.3% C 0.059 H 99.0°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#EFE7BA
RGBrgb(239, 231, 186)
HSLhsl(51, 62%, 83%)
HSVhsv(51, 22%, 94%)
CMYKcmyk(0%, 3.3%, 22.2%, 6.3%)
CIE-LABlab(91.26, -4.34, 22.93)
CIE-LCHlch(91.26, 23.34, 100.73°)
OKLaboklab(92.31% -0.0093 0.0585)
OKLCHoklch(92.31% 0.059 99)
XYZxyz(73.0353, 79.0490, 57.8554)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7BA #BAC2EF
analogous
#EFCCBA #EFE7BA #DCEFBA
triadic
#EFE7BA #BAEFE7 #E7BAEF
tetradic
#EFE7BA #BAEFCC #BAC2EF #EFBADC
square
#EFE7BA #BAEFCC #BAC2EF #EFBADC
split-complementary
#EFE7BA #BADCEF #CCBAEF
monochromatic
#D8C457 #E3D688 #EFE7BA #F9F6E6 #F9F6E6

Accessibility & contrast

On white

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

On black

16.81
#EFE7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7BA
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7BA#FFFFFF#000000##000000
##EFE7BA1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E4B7
Deuteranopia (green-blind)
#F3E7BB
Tritanopia (blue-blind)
#F8E0DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe7ba;
/* rgb */ color: rgb(239, 231, 186);
/* oklch */ color: oklch(92.3% 0.059 99.0);
Tailwind
colors: {
  custom: {
    50: '#f4eecf',
    500: '#efe7ba',
    950: '#000000',
  },
}
SCSS
$custom: #efe7ba;
$custom-light: #f4eecf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7ba",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 186
  },
  "hsl": {
    "h": 50.943,
    "s": 62.353,
    "l": 83.333
  },
  "oklch": {
    "l": 0.92311,
    "c": 0.05923,
    "h": 99
  },
  "luminance": 0.79048
}

Semantic roles & 50–950 ramp

primary
#EFE7BA
secondary
#808CCD
accent
#36CA1B
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171613
muted
#858583

Preview Lab

Preview with #EFE7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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