#FFEC60#FFEC60

#FFEC60 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.158 H 101.6°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#FFEC60
RGBrgb(255, 236, 96)
HSLhsl(53, 100%, 69%)
HSVhsv(53, 62%, 100%)
CMYKcmyk(0%, 7.5%, 62.4%, 0%)
CIE-LABlab(92.62, -9.56, 68.08)
CIE-LCHlch(92.62, 68.75, 97.99°)
OKLaboklab(93.31% -0.0318 0.155)
OKLCHoklch(93.31% 0.158 101.6)
XYZxyz(73.3497, 82.0984, 23.0470)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC60 #6073FF
analogous
#FF9D60 #FFEC60 #C3FF60
triadic
#FFEC60 #60FFEC #EC60FF
tetradic
#FFEC60 #60FF9D #6073FF #FF60C3
square
#FFEC60 #60FF9D #6073FF #FF60C3
split-complementary
#FFEC60 #60C3FF #9D60FF
monochromatic
#E5C900 #FFE523 #FFEC60 #FFF39D #FFFBDA

Accessibility & contrast

On white

1.21
#FFEC60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#FFEC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC60
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC60#FFFFFF#000000##000000
##FFEC601.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54F
Deuteranopia (green-blind)
#FFED68
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec60;
/* rgb */ color: rgb(255, 236, 96);
/* oklch */ color: oklch(93.3% 0.158 101.6);
Tailwind
colors: {
  custom: {
    50: '#fff193',
    500: '#ffec60',
    950: '#000000',
  },
}
SCSS
$custom: #ffec60;
$custom-light: #fff193;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec60",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 96
  },
  "hsl": {
    "h": 52.83,
    "s": 100,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93309,
    "c": 0.15822,
    "h": 101.6
  },
  "luminance": 0.82095
}

Semantic roles & 50–950 ramp

primary
#FFEC60
secondary
#2A3FD9
accent
#1BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEC60

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

Preview Lab → · Contrast checker → · Palette generator →

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