#EBD666#EBD666

#EBD666 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.134 H 98.8°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#EBD666
RGBrgb(235, 214, 102)
HSLhsl(51, 77%, 66%)
HSVhsv(51, 57%, 92%)
CMYKcmyk(0%, 8.9%, 56.6%, 7.8%)
CIE-LABlab(85.36, -6.30, 56.96)
CIE-LCHlch(85.36, 57.31, 96.31°)
OKLaboklab(87.17% -0.0206 0.1325)
OKLCHoklch(87.17% 0.134 98.8)
XYZxyz(60.7080, 66.7171, 22.2477)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD666 #667BEB
analogous
#EB9366 #EBD666 #BDEB66
triadic
#EBD666 #66EBD6 #D666EB
tetradic
#EBD666 #66EB93 #667BEB #EB66BD
square
#EBD666 #66EB93 #667BEB #EB66BD
split-complementary
#EBD666 #66BDEB #9366EB
monochromatic
#BEA419 #E4C730 #EBD666 #F2E59C #F9F3D2

Accessibility & contrast

On white

1.46
#EBD666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#EBD666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD666
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD666#FFFFFF#000000##000000
##EBD6661.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EED96B
Tritanopia (blue-blind)
#FBC8BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd666;
/* rgb */ color: rgb(235, 214, 102);
/* oklch */ color: oklch(87.2% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4e295',
    500: '#ebd666',
    950: '#000000',
  },
}
SCSS
$custom: #ebd666;
$custom-light: #f4e295;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd666",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 50.526,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87166,
    "c": 0.13409,
    "h": 98.8
  },
  "luminance": 0.66715
}

Semantic roles & 50–950 ramp

primary
#EBD666
secondary
#394DBD
accent
#2DD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD666

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

Preview Lab → · Contrast checker → · Palette generator →

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