#FFE959#FFE959

#FFE959 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.6% C 0.161 H 100.6°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#FFE959
RGBrgb(255, 233, 89)
HSLhsl(52, 100%, 67%)
HSVhsv(52, 65%, 100%)
CMYKcmyk(0%, 8.6%, 65.1%, 0%)
CIE-LABlab(91.80, -8.48, 70.06)
CIE-LCHlch(91.80, 70.57, 96.90°)
OKLaboklab(92.64% -0.0295 0.1582)
OKLCHoklch(92.64% 0.161 100.6)
XYZxyz(72.1852, 80.2622, 21.1391)
Luminance0.8026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE959 #596FFF
analogous
#FF9659 #FFE959 #C2FF59
triadic
#FFE959 #59FFE9 #E959FF
tetradic
#FFE959 #59FF96 #596FFF #FF59C2
square
#FFE959 #59FF96 #596FFF #FF59C2
split-complementary
#FFE959 #59C2FF #9659FF
monochromatic
#DEC000 #FFE11C #FFE959 #FFF196 #FFF9D3

Accessibility & contrast

On white

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

On black

17.05
#FFE959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE959
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE959#FFFFFF#000000##000000
##FFE9591.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE346
Deuteranopia (green-blind)
#FFEB61
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe959;
/* rgb */ color: rgb(255, 233, 89);
/* oklch */ color: oklch(92.6% 0.161 100.6);
Tailwind
colors: {
  custom: {
    50: '#ffef8e',
    500: '#ffe959',
    950: '#000000',
  },
}
SCSS
$custom: #ffe959;
$custom-light: #ffef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe959",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 52.048,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92644,
    "c": 0.16088,
    "h": 100.6
  },
  "luminance": 0.80259
}

Semantic roles & 50–950 ramp

primary
#FFE959
secondary
#263DD6
accent
#1EE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFE959

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

Preview Lab → · Contrast checker → · Palette generator →

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