#EBD86B#EBD86B

#EBD86B is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.131 H 99.6°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#EBD86B
RGBrgb(235, 216, 107)
HSLhsl(51, 76%, 67%)
HSVhsv(51, 54%, 92%)
CMYKcmyk(0%, 8.1%, 54.5%, 7.8%)
CIE-LABlab(85.93, -6.93, 55.32)
CIE-LCHlch(85.93, 55.75, 97.14°)
OKLaboklab(87.63% -0.0218 0.1295)
OKLCHoklch(87.63% 0.131 99.6)
XYZxyz(61.4728, 67.8378, 23.7630)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD86B #6B7EEB
analogous
#EB986B #EBD86B #BEEB6B
triadic
#EBD86B #6BEBD8 #D86BEB
tetradic
#EBD86B #6BEB98 #6B7EEB #EB6BBE
square
#EBD86B #6BEB98 #6B7EEB #EB6BBE
split-complementary
#EBD86B #6BBEEB #986BEB
monochromatic
#C1A91A #E4CA35 #EBD86B #F2E6A1 #FAF4D7

Accessibility & contrast

On white

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

On black

14.57
#EBD86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD86B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD86B#FFFFFF#000000##000000
##EBD86B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD361
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#FBCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd86b;
/* rgb */ color: rgb(235, 216, 107);
/* oklch */ color: oklch(87.6% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#f4e398',
    500: '#ebd86b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd86b;
$custom-light: #f4e398;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd86b",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 51.094,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8763,
    "c": 0.13133,
    "h": 99.6
  },
  "luminance": 0.67835
}

Semantic roles & 50–950 ramp

primary
#EBD86B
secondary
#3A4EC0
accent
#2BD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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