#EFE7AB#EFE7AB

#EFE7AB is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 92.0% C 0.078 H 101.4°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#EFE7AB
RGBrgb(239, 231, 171)
HSLhsl(53, 68%, 80%)
HSVhsv(53, 28%, 94%)
CMYKcmyk(0%, 3.3%, 28.5%, 6.3%)
CIE-LABlab(90.98, -6.34, 30.26)
CIE-LCHlch(90.98, 30.92, 101.84°)
OKLaboklab(92% -0.0153 0.076)
OKLCHoklch(92% 0.078 101.4)
XYZxyz(71.5236, 78.4443, 49.8937)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7AB #ABB3EF
analogous
#EFC5AB #EFE7AB #D5EFAB
triadic
#EFE7AB #ABEFE7 #E7ABEF
tetradic
#EFE7AB #ABEFC5 #ABB3EF #EFABD5
square
#EFE7AB #ABEFC5 #ABB3EF #EFABD5
split-complementary
#EFE7AB #ABD5EF #C5ABEF
monochromatic
#DBCA44 #E5D878 #EFE7AB #F9F6DE #FAF8E5

Accessibility & contrast

On white

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

On black

16.69
#EFE7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7AB
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7AB#FFFFFF#000000##000000
##EFE7AB1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E3A7
Deuteranopia (green-blind)
#F5E7AD
Tritanopia (blue-blind)
#F9DFD7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7ab;
/* rgb */ color: rgb(239, 231, 171);
/* oklch */ color: oklch(92.0% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5eec4',
    500: '#efe7ab',
    950: '#000000',
  },
}
SCSS
$custom: #efe7ab;
$custom-light: #f5eec4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7ab",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 52.941,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.92004,
    "c": 0.07755,
    "h": 101.4
  },
  "luminance": 0.78443
}

Semantic roles & 50–950 ramp

primary
#EFE7AB
secondary
#717CCD
accent
#2BD016
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EFE7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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