#EBD287#EBD287

#EBD287 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.098 H 91.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#EBD287
RGBrgb(235, 210, 135)
HSLhsl(45, 71%, 73%)
HSVhsv(45, 43%, 92%)
CMYKcmyk(0%, 10.6%, 42.6%, 7.8%)
CIE-LABlab(84.74, -1.35, 40.29)
CIE-LCHlch(84.74, 40.32, 91.92°)
OKLaboklab(86.81% -0.0029 0.0983)
OKLCHoklch(86.81% 0.098 91.7)
XYZxyz(61.6823, 65.5070, 32.3120)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD287 #87A0EB
analogous
#EBA087 #EBD287 #D2EB87
triadic
#EBD287 #87EBD2 #D287EB
tetradic
#EBD287 #87EBA0 #87A0EB #EB87D2
square
#EBD287 #87EBA0 #87A0EB #EB87D2
split-complementary
#EBD287 #87D2EB #A087EB
monochromatic
#D4A823 #E2BE53 #EBD287 #F4E6BB #FBF5E5

Accessibility & contrast

On white

1.49
#EBD287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#EBD287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD287
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD287#FFFFFF#000000##000000
##EBD2871.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd287;
/* rgb */ color: rgb(235, 210, 135);
/* oklch */ color: oklch(86.8% 0.098 91.7);
Tailwind
colors: {
  custom: {
    50: '#f3dfab',
    500: '#ebd287',
    950: '#000000',
  },
}
SCSS
$custom: #ebd287;
$custom-light: #f3dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd287",
  "rgb": {
    "r": 235,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 45,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86809,
    "c": 0.09832,
    "h": 91.7
  },
  "luminance": 0.65505
}

Semantic roles & 50–950 ramp

primary
#EBD287
secondary
#516EC5
accent
#42D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD287

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

Preview Lab → · Contrast checker → · Palette generator →

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