#FFEC6E#FFEC6E

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

Color values

HEX#FFEC6E
RGBrgb(255, 236, 110)
HSLhsl(52, 100%, 72%)
HSVhsv(52, 57%, 100%)
CMYKcmyk(0%, 7.5%, 56.9%, 0%)
CIE-LABlab(92.74, -8.63, 62.23)
CIE-LCHlch(92.74, 62.82, 97.90°)
OKLaboklab(93.45% -0.0276 0.1443)
OKLCHoklch(93.45% 0.147 100.8)
XYZxyz(74.0526, 82.3796, 26.7490)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC6E #6E81FF
analogous
#FFA46E #FFEC6E #CAFF6E
triadic
#FFEC6E #6EFFEC #EC6EFF
tetradic
#FFEC6E #6EFFA4 #6E81FF #FF6ECA
square
#FFEC6E #6EFFA4 #6E81FF #FF6ECA
split-complementary
#FFEC6E #6ECAFF #A46EFF
monochromatic
#F3D300 #FFE431 #FFEC6E #FFF4AB #FFFBE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEC6E#FFFFFF#000000##000000
##FFEC6E1.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)
#FFE661
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec6e;
/* rgb */ color: rgb(255, 236, 110);
/* oklch */ color: oklch(93.4% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#fff19b',
    500: '#ffec6e',
    950: '#000000',
  },
}
SCSS
$custom: #ffec6e;
$custom-light: #fff19b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec6e",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 110
  },
  "hsl": {
    "h": 52.138,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93447,
    "c": 0.14692,
    "h": 100.8
  },
  "luminance": 0.82377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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