#FFEC6A#FFEC6A

#FFEC6A is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.150 H 101.1°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#FFEC6A
RGBrgb(255, 236, 106)
HSLhsl(52, 100%, 71%)
HSVhsv(52, 58%, 100%)
CMYKcmyk(0%, 7.5%, 58.4%, 0%)
CIE-LABlab(92.70, -8.91, 63.94)
CIE-LCHlch(92.70, 64.56, 97.93°)
OKLaboklab(93.41% -0.0288 0.1475)
OKLCHoklch(93.41% 0.15 101.1)
XYZxyz(73.8397, 82.2944, 25.6278)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC6A #6A7DFF
analogous
#FFA16A #FFEC6A #C7FF6A
triadic
#FFEC6A #6AFFEC #EC6AFF
tetradic
#FFEC6A #6AFFA1 #6A7DFF #FF6AC7
square
#FFEC6A #6AFFA1 #6A7DFF #FF6AC7
split-complementary
#FFEC6A #6AC7FF #A16AFF
monochromatic
#EFD000 #FFE42D #FFEC6A #FFF4A7 #FFFBE0

Accessibility & contrast

On white

1.20
#FFEC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#FFEC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC6A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC6A#FFFFFF#000000##000000
##FFEC6A1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65C
Deuteranopia (green-blind)
#FFEE71
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec6a;
/* rgb */ color: rgb(255, 236, 106);
/* oklch */ color: oklch(93.4% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#fff199',
    500: '#ffec6a',
    950: '#000000',
  },
}
SCSS
$custom: #ffec6a;
$custom-light: #fff199;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec6a",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 106
  },
  "hsl": {
    "h": 52.349,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93406,
    "c": 0.15029,
    "h": 101.1
  },
  "luminance": 0.82292
}

Semantic roles & 50–950 ramp

primary
#FFEC6A
secondary
#3248DB
accent
#1DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19160E
muted
#87857F

Preview Lab

Preview with #FFEC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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