#EBD587#EBD587

#EBD587 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.101 H 94.2°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#EBD587
RGBrgb(235, 213, 135)
HSLhsl(47, 71%, 73%)
HSVhsv(47, 43%, 92%)
CMYKcmyk(0%, 9.4%, 42.6%, 7.8%)
CIE-LABlab(85.51, -2.89, 41.26)
CIE-LCHlch(85.51, 41.37, 94.01°)
OKLaboklab(87.41% -0.0073 0.1005)
OKLCHoklch(87.41% 0.101 94.2)
XYZxyz(62.4300, 67.0022, 32.5612)
Luminance0.6700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD587 #879DEB
analogous
#EBA387 #EBD587 #CFEB87
triadic
#EBD587 #87EBD5 #D587EB
tetradic
#EBD587 #87EBA3 #879DEB #EB87CF
square
#EBD587 #87EBA3 #879DEB #EB87CF
split-complementary
#EBD587 #87CFEB #A387EB
monochromatic
#D4AD23 #E2C353 #EBD587 #F4E7BB #FBF6E5

Accessibility & contrast

On white

1.46
#EBD587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#EBD587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD587
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD587#FFFFFF#000000##000000
##EBD5871.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D281
Deuteranopia (green-blind)
#EAD98A
Tritanopia (blue-blind)
#F9CAC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd587;
/* rgb */ color: rgb(235, 213, 135);
/* oklch */ color: oklch(87.4% 0.101 94.2);
Tailwind
colors: {
  custom: {
    50: '#f3e1ab',
    500: '#ebd587',
    950: '#000000',
  },
}
SCSS
$custom: #ebd587;
$custom-light: #f3e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd587",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 46.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87409,
    "c": 0.10076,
    "h": 94.2
  },
  "luminance": 0.67
}

Semantic roles & 50–950 ramp

primary
#EBD587
secondary
#516BC5
accent
#3DD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD587

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

Preview Lab → · Contrast checker → · Palette generator →

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