#FFEC4D#FFEC4D

#FFEC4D is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.171 H 102.4°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#FFEC4D
RGBrgb(255, 236, 77)
HSLhsl(54, 100%, 65%)
HSVhsv(54, 70%, 100%)
CMYKcmyk(0%, 7.5%, 69.8%, 0%)
CIE-LABlab(92.48, -10.58, 75.31)
CIE-LCHlch(92.48, 76.05, 98.00°)
OKLaboklab(93.16% -0.0367 0.1673)
OKLCHoklch(93.16% 0.171 102.4)
XYZxyz(72.5782, 81.7898, 18.9837)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC4D #4D60FF
analogous
#FF934D #FFEC4D #B9FF4D
triadic
#FFEC4D #4DFFEC #EC4DFF
tetradic
#FFEC4D #4DFF93 #4D60FF #FF4DB9
square
#FFEC4D #4DFF93 #4D60FF #FF4DB9
split-complementary
#FFEC4D #4DB9FF #934DFF
monochromatic
#D2BB00 #FFE510 #FFEC4D #FFF38A #FFF9C7

Accessibility & contrast

On white

1.21
#FFEC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#FFEC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC4D
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC4D#FFFFFF#000000##000000
##FFEC4D1.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE534
Deuteranopia (green-blind)
#FFED57
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffec4d;
/* rgb */ color: rgb(255, 236, 77);
/* oklch */ color: oklch(93.2% 0.171 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff188',
    500: '#ffec4d',
    950: '#000000',
  },
}
SCSS
$custom: #ffec4d;
$custom-light: #fff188;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec4d",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 77
  },
  "hsl": {
    "h": 53.596,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.93157,
    "c": 0.17127,
    "h": 102.4
  },
  "luminance": 0.81787
}

Semantic roles & 50–950 ramp

primary
#FFEC4D
secondary
#2436CC
accent
#18E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FFEC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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