#EBD866#EBD866

#EBD866 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.136 H 100.0°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#EBD866
RGBrgb(235, 216, 102)
HSLhsl(51, 77%, 66%)
HSVhsv(51, 57%, 92%)
CMYKcmyk(0%, 8.1%, 56.6%, 7.8%)
CIE-LABlab(85.87, -7.31, 57.55)
CIE-LCHlch(85.87, 58.01, 97.24°)
OKLaboklab(87.57% -0.0235 0.1338)
OKLCHoklch(87.57% 0.136 100)
XYZxyz(61.2173, 67.7357, 22.4175)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD866 #6679EB
analogous
#EB9566 #EBD866 #BBEB66
triadic
#EBD866 #66EBD8 #D866EB
tetradic
#EBD866 #66EB95 #6679EB #EB66BB
square
#EBD866 #66EB95 #6679EB #EB66BB
split-complementary
#EBD866 #66BBEB #9566EB
monochromatic
#BEA619 #E4CA30 #EBD866 #F2E69C #F9F4D2

Accessibility & contrast

On white

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

On black

14.55
#EBD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD866
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD866#FFFFFF#000000##000000
##EBD8661.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35B
Deuteranopia (green-blind)
#EFDA6B
Tritanopia (blue-blind)
#FBCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd866;
/* rgb */ color: rgb(235, 216, 102);
/* oklch */ color: oklch(87.6% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#f4e395',
    500: '#ebd866',
    950: '#000000',
  },
}
SCSS
$custom: #ebd866;
$custom-light: #f4e395;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd866",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 51.429,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87572,
    "c": 0.13581,
    "h": 100
  },
  "luminance": 0.67733
}

Semantic roles & 50–950 ramp

primary
#EBD866
secondary
#394BBD
accent
#2AD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD866

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

Preview Lab → · Contrast checker → · Palette generator →

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