#FFEC70#FFEC70

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

Color values

HEX#FFEC70
RGBrgb(255, 236, 112)
HSLhsl(52, 100%, 72%)
HSVhsv(52, 56%, 100%)
CMYKcmyk(0%, 7.5%, 56.1%, 0%)
CIE-LABlab(92.76, -8.49, 61.36)
CIE-LCHlch(92.76, 61.95, 97.88°)
OKLaboklab(93.47% -0.0269 0.1427)
OKLCHoklch(93.47% 0.145 100.7)
XYZxyz(74.1627, 82.4236, 27.3289)
Luminance0.8242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC70 #7083FF
analogous
#FFA570 #FFEC70 #CBFF70
triadic
#FFEC70 #70FFEC #EC70FF
tetradic
#FFEC70 #70FFA5 #7083FF #FF70CB
square
#FFEC70 #70FFA5 #7083FF #FF70CB
split-complementary
#FFEC70 #70CBFF #A570FF
monochromatic
#F5D400 #FFE433 #FFEC70 #FFF4AD #FFFBE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEC70#FFFFFF#000000##000000
##FFEC701.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)
#FFE664
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec70;
/* rgb */ color: rgb(255, 236, 112);
/* oklch */ color: oklch(93.5% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff19d',
    500: '#ffec70',
    950: '#000000',
  },
}
SCSS
$custom: #ffec70;
$custom-light: #fff19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec70",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 52.028,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93469,
    "c": 0.1452,
    "h": 100.7
  },
  "luminance": 0.82421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEC70

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

Preview Lab → · Contrast checker → · Palette generator →

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