#EFD587#EFD587

#EFD587 is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.102 H 91.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#EFD587
RGBrgb(239, 213, 135)
HSLhsl(45, 76%, 73%)
HSVhsv(45, 44%, 94%)
CMYKcmyk(0%, 10.9%, 43.5%, 6.3%)
CIE-LABlab(85.85, -1.31, 41.78)
CIE-LCHlch(85.85, 41.80, 91.79°)
OKLaboklab(87.77% -0.0029 0.1016)
OKLCHoklch(87.77% 0.102 91.7)
XYZxyz(63.7658, 67.6910, 32.6238)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD587 #87A1EF
analogous
#EFA187 #EFD587 #D5EF87
triadic
#EFD587 #87EFD5 #D587EF
tetradic
#EFD587 #87EFA1 #87A1EF #EF87D5
square
#EFD587 #87EFA1 #87A1EF #EF87D5
split-complementary
#EFD587 #87D5EF #A187EF
monochromatic
#DEAE1E #E8C251 #EFD587 #F6E8BD #FBF6E4

Accessibility & contrast

On white

1.44
#EFD587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#EFD587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD587
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD587#FFFFFF#000000##000000
##EFD5871.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D281
Deuteranopia (green-blind)
#EBDA8A
Tritanopia (blue-blind)
#FECAC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd587;
/* rgb */ color: rgb(239, 213, 135);
/* oklch */ color: oklch(87.8% 0.102 91.7);
Tailwind
colors: {
  custom: {
    50: '#f6e1ab',
    500: '#efd587',
    950: '#000000',
  },
}
SCSS
$custom: #efd587;
$custom-light: #f6e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#efd587",
  "rgb": {
    "r": 239,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 45,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87765,
    "c": 0.10165,
    "h": 91.7
  },
  "luminance": 0.67688
}

Semantic roles & 50–950 ramp

primary
#EFD587
secondary
#506FCA
accent
#40D90D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFD587

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

Preview Lab → · Contrast checker → · Palette generator →

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