#EFE7B8#EFE7B8

#EFE7B8 is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 92.3% C 0.062 H 99.4°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#EFE7B8
RGBrgb(239, 231, 184)
HSLhsl(51, 63%, 83%)
HSVhsv(51, 23%, 94%)
CMYKcmyk(0%, 3.3%, 23%, 6.3%)
CIE-LABlab(91.22, -4.62, 23.91)
CIE-LCHlch(91.22, 24.35, 100.94°)
OKLaboklab(92.27% -0.0101 0.0609)
OKLCHoklch(92.27% 0.062 99.4)
XYZxyz(72.8242, 78.9645, 56.7435)
Luminance0.7896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7B8 #B8C0EF
analogous
#EFCBB8 #EFE7B8 #DBEFB8
triadic
#EFE7B8 #B8EFE7 #E7B8EF
tetradic
#EFE7B8 #B8EFCB #B8C0EF #EFB8DB
square
#EFE7B8 #B8EFCB #B8C0EF #EFB8DB
split-complementary
#EFE7B8 #B8DBEF #CBB8EF
monochromatic
#D8C554 #E4D686 #EFE7B8 #F9F7E6 #F9F7E6

Accessibility & contrast

On white

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

On black

16.79
#EFE7B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7B8
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7B8#FFFFFF#000000##000000
##EFE7B81.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E4B5
Deuteranopia (green-blind)
#F3E7BA
Tritanopia (blue-blind)
#F8E0DA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe7b8;
/* rgb */ color: rgb(239, 231, 184);
/* oklch */ color: oklch(92.3% 0.062 99.4);
Tailwind
colors: {
  custom: {
    50: '#f4eecd',
    500: '#efe7b8',
    950: '#000000',
  },
}
SCSS
$custom: #efe7b8;
$custom-light: #f4eecd;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7b8",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 184
  },
  "hsl": {
    "h": 51.273,
    "s": 63.218,
    "l": 82.941
  },
  "oklch": {
    "l": 0.92268,
    "c": 0.0617,
    "h": 99.4
  },
  "luminance": 0.78963
}

Semantic roles & 50–950 ramp

primary
#EFE7B8
secondary
#7E8ACD
accent
#34CB1B
background
#FFFFFE
surface
#FEFEFA
border
#D6D6D3
text
#171613
muted
#858583

Preview Lab

Preview with #EFE7B8

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

Preview Lab → · Contrast checker → · Palette generator →

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