#EBCA66#EBCA66

#EBCA66 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.8% C 0.125 H 91.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#EBCA66
RGBrgb(235, 202, 102)
HSLhsl(45, 77%, 66%)
HSVhsv(45, 57%, 92%)
CMYKcmyk(0%, 14%, 56.6%, 7.8%)
CIE-LABlab(82.31, -0.17, 53.44)
CIE-LCHlch(82.31, 53.44, 90.18°)
OKLaboklab(84.75% -0.0029 0.1249)
OKLCHoklch(84.75% 0.125 91.3)
XYZxyz(57.7822, 60.8654, 21.2724)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA66 #6687EB
analogous
#EB8766 #EBCA66 #C9EB66
triadic
#EBCA66 #66EBCA #CA66EB
tetradic
#EBCA66 #66EB87 #6687EB #EB66C9
square
#EBCA66 #66EB87 #6687EB #EB66C9
split-complementary
#EBCA66 #66C9EB #8766EB
monochromatic
#BE9519 #E4B730 #EBCA66 #F2DD9C #F9EFD2

Accessibility & contrast

On white

1.59
#EBCA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#EBCA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCA66
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCA66#FFFFFF#000000##000000
##EBCA661.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC75C
Deuteranopia (green-blind)
#E5D16A
Tritanopia (blue-blind)
#FCBCB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebca66;
/* rgb */ color: rgb(235, 202, 102);
/* oklch */ color: oklch(84.8% 0.125 91.3);
Tailwind
colors: {
  custom: {
    50: '#f4d994',
    500: '#ebca66',
    950: '#000000',
  },
}
SCSS
$custom: #ebca66;
$custom-light: #f4d994;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca66",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 45.113,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8475,
    "c": 0.12494,
    "h": 91.3
  },
  "luminance": 0.60863
}

Semantic roles & 50–950 ramp

primary
#EBCA66
secondary
#3959BD
accent
#3FD90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCA66

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

Preview Lab → · Contrast checker → · Palette generator →

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