#EBD387#EBD387

#EBD387 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.099 H 92.5°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#EBD387
RGBrgb(235, 211, 135)
HSLhsl(46, 71%, 73%)
HSVhsv(46, 43%, 92%)
CMYKcmyk(0%, 10.2%, 42.6%, 7.8%)
CIE-LABlab(85.00, -1.87, 40.62)
CIE-LCHlch(85.00, 40.66, 92.63°)
OKLaboklab(87.01% -0.0044 0.099)
OKLCHoklch(87.01% 0.099 92.5)
XYZxyz(61.9300, 66.0023, 32.3945)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD387 #879FEB
analogous
#EBA187 #EBD387 #D1EB87
triadic
#EBD387 #87EBD3 #D387EB
tetradic
#EBD387 #87EBA1 #879FEB #EB87D1
square
#EBD387 #87EBA1 #879FEB #EB87D1
split-complementary
#EBD387 #87D1EB #A187EB
monochromatic
#D4AA23 #E2C053 #EBD387 #F4E6BB #FBF5E5

Accessibility & contrast

On white

1.48
#EBD387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#EBD387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD387
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD387#FFFFFF#000000##000000
##EBD3871.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D081
Deuteranopia (green-blind)
#E8D78A
Tritanopia (blue-blind)
#F9C8C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd387;
/* rgb */ color: rgb(235, 211, 135);
/* oklch */ color: oklch(87.0% 0.099 92.5);
Tailwind
colors: {
  custom: {
    50: '#f3e0ab',
    500: '#ebd387',
    950: '#000000',
  },
}
SCSS
$custom: #ebd387;
$custom-light: #f3e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd387",
  "rgb": {
    "r": 235,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 45.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.09912,
    "h": 92.5
  },
  "luminance": 0.66
}

Semantic roles & 50–950 ramp

primary
#EBD387
secondary
#516DC5
accent
#40D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD387

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

Preview Lab → · Contrast checker → · Palette generator →

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