#EBD487#EBD487

#EBD487 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.100 H 93.4°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#EBD487
RGBrgb(235, 212, 135)
HSLhsl(46, 71%, 73%)
HSVhsv(46, 43%, 92%)
CMYKcmyk(0%, 9.8%, 42.6%, 7.8%)
CIE-LABlab(85.25, -2.38, 40.94)
CIE-LCHlch(85.25, 41.01, 93.32°)
OKLaboklab(87.21% -0.0059 0.0998)
OKLCHoklch(87.21% 0.1 93.4)
XYZxyz(62.1792, 66.5007, 32.4776)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD487 #879EEB
analogous
#EBA287 #EBD487 #D0EB87
triadic
#EBD487 #87EBD4 #D487EB
tetradic
#EBD487 #87EBA2 #879EEB #EB87D0
square
#EBD487 #87EBA2 #879EEB #EB87D0
split-complementary
#EBD487 #87D0EB #A287EB
monochromatic
#D4AC23 #E2C153 #EBD487 #F4E7BB #FBF6E5

Accessibility & contrast

On white

1.47
#EBD487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#EBD487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD487
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD487#FFFFFF#000000##000000
##EBD4871.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D181
Deuteranopia (green-blind)
#E9D88A
Tritanopia (blue-blind)
#F9C9C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd487;
/* rgb */ color: rgb(235, 212, 135);
/* oklch */ color: oklch(87.2% 0.100 93.4);
Tailwind
colors: {
  custom: {
    50: '#f3e1ab',
    500: '#ebd487',
    950: '#000000',
  },
}
SCSS
$custom: #ebd487;
$custom-light: #f3e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd487",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 46.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87209,
    "c": 0.09992,
    "h": 93.4
  },
  "luminance": 0.66498
}

Semantic roles & 50–950 ramp

primary
#EBD487
secondary
#516CC5
accent
#3FD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD487

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

Preview Lab → · Contrast checker → · Palette generator →

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