#EFD787#EFD787

#EFD787 is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.103 H 93.3°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#EFD787
RGBrgb(239, 215, 135)
HSLhsl(46, 76%, 73%)
HSVhsv(46, 44%, 94%)
CMYKcmyk(0%, 10%, 43.5%, 6.3%)
CIE-LABlab(86.36, -2.33, 42.42)
CIE-LCHlch(86.36, 42.48, 93.14°)
OKLaboklab(88.16% -0.0059 0.1031)
OKLCHoklch(88.16% 0.103 93.3)
XYZxyz(64.2719, 68.7033, 32.7925)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD787 #879FEF
analogous
#EFA387 #EFD787 #D3EF87
triadic
#EFD787 #87EFD7 #D787EF
tetradic
#EFD787 #87EFA3 #879FEF #EF87D3
square
#EFD787 #87EFA3 #879FEF #EF87D3
split-complementary
#EFD787 #87D3EF #A387EF
monochromatic
#DEB21E #E8C551 #EFD787 #F6E9BD #FBF6E4

Accessibility & contrast

On white

1.42
#EFD787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#EFD787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD787
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD787#FFFFFF#000000##000000
##EFD7871.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#EDDB8A
Tritanopia (blue-blind)
#FECCC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd787;
/* rgb */ color: rgb(239, 215, 135);
/* oklch */ color: oklch(88.2% 0.103 93.3);
Tailwind
colors: {
  custom: {
    50: '#f6e3ab',
    500: '#efd787',
    950: '#000000',
  },
}
SCSS
$custom: #efd787;
$custom-light: #f6e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#efd787",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 46.154,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88164,
    "c": 0.10324,
    "h": 93.3
  },
  "luminance": 0.68701
}

Semantic roles & 50–950 ramp

primary
#EFD787
secondary
#506CCA
accent
#3CD90D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFD787

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

Preview Lab → · Contrast checker → · Palette generator →

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