#FFEC6D#FFEC6D

#FFEC6D is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.4% C 0.148 H 100.9°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#FFEC6D
RGBrgb(255, 236, 109)
HSLhsl(52, 100%, 71%)
HSVhsv(52, 57%, 100%)
CMYKcmyk(0%, 7.5%, 57.3%, 0%)
CIE-LABlab(92.73, -8.70, 62.66)
CIE-LCHlch(92.73, 63.26, 97.91°)
OKLaboklab(93.44% -0.0279 0.1451)
OKLCHoklch(93.44% 0.148 100.9)
XYZxyz(73.9984, 82.3579, 26.4638)
Luminance0.8236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC6D #6D80FF
analogous
#FFA36D #FFEC6D #C9FF6D
triadic
#FFEC6D #6DFFEC #EC6DFF
tetradic
#FFEC6D #6DFFA3 #6D80FF #FF6DC9
square
#FFEC6D #6DFFA3 #6D80FF #FF6DC9
split-complementary
#FFEC6D #6DC9FF #A36DFF
monochromatic
#F2D200 #FFE430 #FFEC6D #FFF4AA #FFFBE0

Accessibility & contrast

On white

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

On black

17.47
#FFEC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC6D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC6D#FFFFFF#000000##000000
##FFEC6D1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec6d;
/* rgb */ color: rgb(255, 236, 109);
/* oklch */ color: oklch(93.4% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#fff19b',
    500: '#ffec6d',
    950: '#000000',
  },
}
SCSS
$custom: #ffec6d;
$custom-light: #fff19b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec6d",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 109
  },
  "hsl": {
    "h": 52.192,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93437,
    "c": 0.14777,
    "h": 100.9
  },
  "luminance": 0.82355
}

Semantic roles & 50–950 ramp

primary
#FFEC6D
secondary
#354BDB
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFEC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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