#EBD786#EBD786

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

Color values

HEX#EBD786
RGBrgb(235, 215, 134)
HSLhsl(48, 72%, 72%)
HSVhsv(48, 43%, 92%)
CMYKcmyk(0%, 8.5%, 43%, 7.8%)
CIE-LABlab(86.00, -4.01, 42.39)
CIE-LCHlch(86.00, 42.58, 95.41°)
OKLaboklab(87.8% -0.0107 0.103)
OKLCHoklch(87.8% 0.104 95.9)
XYZxyz(62.8660, 67.9865, 32.3608)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD786 #869AEB
analogous
#EBA586 #EBD786 #CCEB86
triadic
#EBD786 #86EBD7 #D786EB
tetradic
#EBD786 #86EBA5 #869AEB #EB86CC
square
#EBD786 #86EBA5 #869AEB #EB86CC
split-complementary
#EBD786 #86CCEB #A586EB
monochromatic
#D4B123 #E2C651 #EBD786 #F4E8BB #FBF6E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD786#FFFFFF#000000##000000
##EBD7861.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)
#E6D380
Deuteranopia (green-blind)
#ECDA89
Tritanopia (blue-blind)
#F9CCC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd786;
/* rgb */ color: rgb(235, 215, 134);
/* oklch */ color: oklch(87.8% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#f3e3aa',
    500: '#ebd786',
    950: '#000000',
  },
}
SCSS
$custom: #ebd786;
$custom-light: #f3e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd786",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 48.119,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87795,
    "c": 0.10355,
    "h": 95.9
  },
  "luminance": 0.67984
}

Semantic roles & 50–950 ramp

primary
#EBD786
secondary
#5067C5
accent
#38D412
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD786

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

Preview Lab → · Contrast checker → · Palette generator →

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