#FFEC6F#FFEC6F

#FFEC6F is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.146 H 100.8°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#FFEC6F
RGBrgb(255, 236, 111)
HSLhsl(52, 100%, 72%)
HSVhsv(52, 56%, 100%)
CMYKcmyk(0%, 7.5%, 56.5%, 0%)
CIE-LABlab(92.75, -8.56, 61.79)
CIE-LCHlch(92.75, 62.38, 97.89°)
OKLaboklab(93.46% -0.0273 0.1435)
OKLCHoklch(93.46% 0.146 100.8)
XYZxyz(74.1073, 82.4015, 27.0373)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC6F #6F82FF
analogous
#FFA46F #FFEC6F #CAFF6F
triadic
#FFEC6F #6FFFEC #EC6FFF
tetradic
#FFEC6F #6FFFA4 #6F82FF #FF6FCA
square
#FFEC6F #6FFFA4 #6F82FF #FF6FCA
split-complementary
#FFEC6F #6FCAFF #A46FFF
monochromatic
#F4D300 #FFE432 #FFEC6F #FFF4AC #FFFBE0

Accessibility & contrast

On white

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

On black

17.48
#FFEC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC6F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC6F#FFFFFF#000000##000000
##FFEC6F1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec6f;
/* rgb */ color: rgb(255, 236, 111);
/* oklch */ color: oklch(93.5% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#fff19c',
    500: '#ffec6f',
    950: '#000000',
  },
}
SCSS
$custom: #ffec6f;
$custom-light: #fff19c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec6f",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 52.083,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93458,
    "c": 0.14606,
    "h": 100.8
  },
  "luminance": 0.82399
}

Semantic roles & 50–950 ramp

primary
#FFEC6F
secondary
#374CDC
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFEC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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