#EBE166#EBE166

#EBE166 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.4% C 0.144 H 104.6°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#EBE166
RGBrgb(235, 225, 102)
HSLhsl(55, 77%, 66%)
HSVhsv(55, 57%, 92%)
CMYKcmyk(0%, 4.3%, 56.6%, 7.8%)
CIE-LABlab(88.20, -11.82, 60.18)
CIE-LCHlch(88.20, 61.33, 101.11°)
OKLaboklab(89.42% -0.0364 0.1394)
OKLCHoklch(89.42% 0.144 104.6)
XYZxyz(63.5865, 72.4740, 23.2072)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE166 #6670EB
analogous
#EB9E66 #EBE166 #B2EB66
triadic
#EBE166 #66EBE1 #E166EB
tetradic
#EBE166 #66EB9E #6670EB #EB66B2
square
#EBE166 #66EB9E #6670EB #EB66B2
split-complementary
#EBE166 #66B2EB #9E66EB
monochromatic
#BEB119 #E4D630 #EBE166 #F2EC9C #F9F6D2

Accessibility & contrast

On white

1.36
#EBE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#EBE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE166
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE166#FFFFFF#000000##000000
##EBE1661.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA59
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FBD4C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ebe166;
/* rgb */ color: rgb(235, 225, 102);
/* oklch */ color: oklch(89.4% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#f4ea96',
    500: '#ebe166',
    950: '#000000',
  },
}
SCSS
$custom: #ebe166;
$custom-light: #f4ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe166",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 55.489,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89416,
    "c": 0.14408,
    "h": 104.6
  },
  "luminance": 0.72472
}

Semantic roles & 50–950 ramp

primary
#EBE166
secondary
#3943BD
accent
#1CD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE166

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

Preview Lab → · Contrast checker → · Palette generator →

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