#EBCC62#EBCC62

#EBCC62 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.130 H 93.2°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#EBCC62
RGBrgb(235, 204, 98)
HSLhsl(46, 77%, 65%)
HSVhsv(46, 58%, 92%)
CMYKcmyk(0%, 13.2%, 58.3%, 7.8%)
CIE-LABlab(82.77, -1.49, 55.83)
CIE-LCHlch(82.77, 55.85, 91.53°)
OKLaboklab(85.1% -0.0072 0.1296)
OKLCHoklch(85.1% 0.13 93.2)
XYZxyz(58.0609, 61.7326, 20.4102)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC62 #6281EB
analogous
#EB8762 #EBCC62 #C6EB62
triadic
#EBCC62 #62EBCC #CC62EB
tetradic
#EBCC62 #62EB87 #6281EB #EB62C6
square
#EBCC62 #62EB87 #6281EB #EB62C6
split-complementary
#EBCC62 #62C6EB #8762EB
monochromatic
#BB9618 #E4BA2C #EBCC62 #F2DE98 #F9EFCF

Accessibility & contrast

On white

1.57
#EBCC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#EBCC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC62
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC62#FFFFFF#000000##000000
##EBCC621.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#FCBEB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc62;
/* rgb */ color: rgb(235, 204, 98);
/* oklch */ color: oklch(85.1% 0.130 93.2);
Tailwind
colors: {
  custom: {
    50: '#f4db92',
    500: '#ebcc62',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc62;
$custom-light: #f4db92;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc62",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 46.423,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85104,
    "c": 0.12981,
    "h": 93.2
  },
  "luminance": 0.6173
}

Semantic roles & 50–950 ramp

primary
#EBCC62
secondary
#3755BA
accent
#3ADA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCC62

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

Preview Lab → · Contrast checker → · Palette generator →

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