#FFE962#FFE962

#FFE962 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.154 H 100.1°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#FFE962
RGBrgb(255, 233, 98)
HSLhsl(52, 100%, 69%)
HSVhsv(52, 62%, 100%)
CMYKcmyk(0%, 8.6%, 61.6%, 0%)
CIE-LABlab(91.87, -7.95, 66.44)
CIE-LCHlch(91.87, 66.92, 96.82°)
OKLaboklab(92.72% -0.0269 0.1518)
OKLCHoklch(92.72% 0.154 100.1)
XYZxyz(72.5864, 80.4228, 23.2526)
Luminance0.8042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE962 #6278FF
analogous
#FF9B62 #FFE962 #C7FF62
triadic
#FFE962 #62FFE9 #E962FF
tetradic
#FFE962 #62FF9B #6278FF #FF62C7
square
#FFE962 #62FF9B #6278FF #FF62C7
split-complementary
#FFE962 #62C7FF #9B62FF
monochromatic
#E7C600 #FFE025 #FFE962 #FFF29F #FFFADC

Accessibility & contrast

On white

1.23
#FFE962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#FFE962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE962
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE962#FFFFFF#000000##000000
##FFE9621.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#FFEB69
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe962;
/* rgb */ color: rgb(255, 233, 98);
/* oklch */ color: oklch(92.7% 0.154 100.1);
Tailwind
colors: {
  custom: {
    50: '#ffef94',
    500: '#ffe962',
    950: '#000000',
  },
}
SCSS
$custom: #ffe962;
$custom-light: #ffef94;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe962",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 51.592,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92724,
    "c": 0.15417,
    "h": 100.1
  },
  "luminance": 0.8042
}

Semantic roles & 50–950 ramp

primary
#FFE962
secondary
#2C44DA
accent
#20E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFE962

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

Preview Lab → · Contrast checker → · Palette generator →

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