#FFEC74#FFEC74

#FFEC74 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.142 H 100.4°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#FFEC74
RGBrgb(255, 236, 116)
HSLhsl(52, 100%, 73%)
HSVhsv(52, 55%, 100%)
CMYKcmyk(0%, 7.5%, 54.5%, 0%)
CIE-LABlab(92.80, -8.19, 59.61)
CIE-LCHlch(92.80, 60.17, 97.82°)
OKLaboklab(93.51% -0.0257 0.1393)
OKLCHoklch(93.51% 0.142 100.4)
XYZxyz(74.3904, 82.5147, 28.5280)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC74 #7487FF
analogous
#FFA774 #FFEC74 #CCFF74
triadic
#FFEC74 #74FFEC #EC74FF
tetradic
#FFEC74 #74FFA7 #7487FF #FF74CC
square
#FFEC74 #74FFA7 #7487FF #FF74CC
split-complementary
#FFEC74 #74CCFF #A774FF
monochromatic
#F9D700 #FFE437 #FFEC74 #FFF4B1 #FFFBE0

Accessibility & contrast

On white

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

On black

17.50
#FFEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC74
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC74#FFFFFF#000000##000000
##FFEC741.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec74;
/* rgb */ color: rgb(255, 236, 116);
/* oklch */ color: oklch(93.5% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff19f',
    500: '#ffec74',
    950: '#000000',
  },
}
SCSS
$custom: #ffec74;
$custom-light: #fff19f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec74",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 51.799,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93514,
    "c": 0.14167,
    "h": 100.4
  },
  "luminance": 0.82512
}

Semantic roles & 50–950 ramp

primary
#FFEC74
secondary
#3B51DC
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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