#EBE962#EBE962

#EBE962 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.155 H 108.3°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#EBE962
RGBrgb(235, 233, 98)
HSLhsl(59, 77%, 65%)
HSVhsv(59, 58%, 92%)
CMYKcmyk(0%, 0.9%, 58.3%, 7.8%)
CIE-LABlab(90.24, -16.05, 64.19)
CIE-LCHlch(90.24, 66.17, 104.04°)
OKLaboklab(91.03% -0.0489 0.1475)
OKLCHoklch(91.03% 0.155 108.3)
XYZxyz(65.6064, 76.8237, 22.9254)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE962 #6264EB
analogous
#EBA462 #EBE962 #A8EB62
triadic
#EBE962 #62EBE9 #E962EB
tetradic
#EBE962 #62EBA4 #6264EB #EB62A8
square
#EBE962 #62EBA4 #6264EB #EB62A8
split-complementary
#EBE962 #62A8EB #A462EB
monochromatic
#BBB818 #E4E12C #EBE962 #F2F198 #F9F8CF

Accessibility & contrast

On white

1.28
#EBE962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#EBE962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE962
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE962#FFFFFF#000000##000000
##EBE9621.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FDE56A
Tritanopia (blue-blind)
#FADBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe962;
/* rgb */ color: rgb(235, 233, 98);
/* oklch */ color: oklch(91.0% 0.155 108.3);
Tailwind
colors: {
  custom: {
    50: '#f4ef94',
    500: '#ebe962',
    950: '#000000',
  },
}
SCSS
$custom: #ebe962;
$custom-light: #f4ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe962",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 59.124,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91032,
    "c": 0.15536,
    "h": 108.3
  },
  "luminance": 0.76822
}

Semantic roles & 50–950 ramp

primary
#EBE962
secondary
#3739BA
accent
#0FDA0C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE962

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

Preview Lab → · Contrast checker → · Palette generator →

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