#EBD166#EBD166

#EBD166 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.130 H 95.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#EBD166
RGBrgb(235, 209, 102)
HSLhsl(48, 77%, 66%)
HSVhsv(48, 57%, 92%)
CMYKcmyk(0%, 11.1%, 56.6%, 7.8%)
CIE-LABlab(84.08, -3.76, 55.50)
CIE-LCHlch(84.08, 55.62, 93.88°)
OKLaboklab(86.15% -0.0133 0.1294)
OKLCHoklch(86.15% 0.13 95.9)
XYZxyz(59.4620, 64.2251, 21.8324)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD166 #6680EB
analogous
#EB8E66 #EBD166 #C2EB66
triadic
#EBD166 #66EBD1 #D166EB
tetradic
#EBD166 #66EB8E #6680EB #EB66C2
square
#EBD166 #66EB8E #6680EB #EB66C2
split-complementary
#EBD166 #66C2EB #8E66EB
monochromatic
#BE9E19 #E4C130 #EBD166 #F2E19C #F9F2D2

Accessibility & contrast

On white

1.52
#EBD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#EBD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD166
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD166#FFFFFF#000000##000000
##EBD1661.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5C
Deuteranopia (green-blind)
#EAD56B
Tritanopia (blue-blind)
#FCC3B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd166;
/* rgb */ color: rgb(235, 209, 102);
/* oklch */ color: oklch(86.2% 0.130 95.9);
Tailwind
colors: {
  custom: {
    50: '#f4de95',
    500: '#ebd166',
    950: '#000000',
  },
}
SCSS
$custom: #ebd166;
$custom-light: #f4de95;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd166",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 48.271,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86154,
    "c": 0.13003,
    "h": 95.9
  },
  "luminance": 0.64222
}

Semantic roles & 50–950 ramp

primary
#EBD166
secondary
#3952BD
accent
#34D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD166

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

Preview Lab → · Contrast checker → · Palette generator →

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