#EBC962#EBC962

#EBC962 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.128 H 91.2°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#EBC962
RGBrgb(235, 201, 98)
HSLhsl(45, 77%, 65%)
HSVhsv(45, 58%, 92%)
CMYKcmyk(0%, 14.5%, 58.3%, 7.8%)
CIE-LABlab(82.01, 0.05, 54.97)
CIE-LCHlch(82.01, 54.97, 89.94°)
OKLaboklab(84.51% -0.0027 0.1278)
OKLCHoklch(84.51% 0.128 91.2)
XYZxyz(57.3547, 60.3203, 20.1748)
Luminance0.6032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC962 #6284EB
analogous
#EB8462 #EBC962 #C9EB62
triadic
#EBC962 #62EBC9 #C962EB
tetradic
#EBC962 #62EB84 #6284EB #EB62C9
square
#EBC962 #62EB84 #6284EB #EB62C9
split-complementary
#EBC962 #62C9EB #8462EB
monochromatic
#BB9218 #E4B62C #EBC962 #F2DC98 #F9EECF

Accessibility & contrast

On white

1.61
#EBC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#EBC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC962
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC962#FFFFFF#000000##000000
##EBC9621.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#FCBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc962;
/* rgb */ color: rgb(235, 201, 98);
/* oklch */ color: oklch(84.5% 0.128 91.2);
Tailwind
colors: {
  custom: {
    50: '#f4d992',
    500: '#ebc962',
    950: '#000000',
  },
}
SCSS
$custom: #ebc962;
$custom-light: #f4d992;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc962",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 45.109,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84505,
    "c": 0.12778,
    "h": 91.2
  },
  "luminance": 0.60317
}

Semantic roles & 50–950 ramp

primary
#EBC962
secondary
#3758BA
accent
#3FDA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC962

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

Preview Lab → · Contrast checker → · Palette generator →

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