#EBD787#EBD787

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

Color values

HEX#EBD787
RGBrgb(235, 215, 135)
HSLhsl(48, 71%, 73%)
HSVhsv(48, 43%, 92%)
CMYKcmyk(0%, 8.5%, 42.6%, 7.8%)
CIE-LABlab(86.01, -3.91, 41.91)
CIE-LCHlch(86.01, 42.09, 95.33°)
OKLaboklab(87.81% -0.0103 0.102)
OKLCHoklch(87.81% 0.102 95.8)
XYZxyz(62.9361, 68.0145, 32.7299)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD787 #879BEB
analogous
#EBA587 #EBD787 #CDEB87
triadic
#EBD787 #87EBD7 #D787EB
tetradic
#EBD787 #87EBA5 #879BEB #EB87CD
square
#EBD787 #87EBA5 #879BEB #EB87CD
split-complementary
#EBD787 #87CDEB #A587EB
monochromatic
#D4B123 #E2C653 #EBD787 #F4E8BB #FBF6E5

Accessibility & contrast

On white

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

On black

14.60
#EBD787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD787
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD787#FFFFFF#000000##000000
##EBD7871.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd787;
/* rgb */ color: rgb(235, 215, 135);
/* oklch */ color: oklch(87.8% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#f3e3ab',
    500: '#ebd787',
    950: '#000000',
  },
}
SCSS
$custom: #ebd787;
$custom-light: #f3e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd787",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87811,
    "c": 0.10248,
    "h": 95.8
  },
  "luminance": 0.68012
}

Semantic roles & 50–950 ramp

primary
#EBD787
secondary
#5168C5
accent
#39D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD787

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

Preview Lab → · Contrast checker → · Palette generator →

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