#EFE887#EFE887

#EFE887 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.119 H 104.9°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#EFE887
RGBrgb(239, 232, 135)
HSLhsl(56, 76%, 73%)
HSVhsv(56, 44%, 94%)
CMYKcmyk(0%, 2.9%, 43.5%, 6.3%)
CIE-LABlab(90.70, -10.90, 47.86)
CIE-LCHlch(90.70, 49.08, 102.83°)
OKLaboklab(91.6% -0.0306 0.1153)
OKLCHoklch(91.6% 0.119 104.9)
XYZxyz(68.8278, 77.8150, 34.3111)
Luminance0.7781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE887 #878EEF
analogous
#EFB487 #EFE887 #C2EF87
triadic
#EFE887 #87EFE8 #E887EF
tetradic
#EFE887 #87EFB4 #878EEF #EF87C2
square
#EFE887 #87EFB4 #878EEF #EF87C2
split-complementary
#EFE887 #87C2EF #B487EF
monochromatic
#DED11E #E8DE51 #EFE887 #F6F2BD #FBFAE4

Accessibility & contrast

On white

1.27
#EFE887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#EFE887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE887
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE887#FFFFFF#000000##000000
##EFE8871.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E27F
Deuteranopia (green-blind)
#FAE78B
Tritanopia (blue-blind)
#FDDCD1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe887;
/* rgb */ color: rgb(239, 232, 135);
/* oklch */ color: oklch(91.6% 0.119 104.9);
Tailwind
colors: {
  custom: {
    50: '#f6efab',
    500: '#efe887',
    950: '#000000',
  },
}
SCSS
$custom: #efe887;
$custom-light: #f6efab;
$custom-dark: #000000;
JSON
{
  "hex": "#efe887",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 135
  },
  "hsl": {
    "h": 55.962,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91599,
    "c": 0.11932,
    "h": 104.9
  },
  "luminance": 0.77813
}

Semantic roles & 50–950 ramp

primary
#EFE887
secondary
#5058CA
accent
#1BD90D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE887

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

Preview Lab → · Contrast checker → · Palette generator →

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