#FFEC7D#FFEC7D

#FFEC7D is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.6% C 0.133 H 99.8°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#FFEC7D
RGBrgb(255, 236, 125)
HSLhsl(51, 100%, 75%)
HSVhsv(51, 51%, 100%)
CMYKcmyk(0%, 7.5%, 51%, 0%)
CIE-LABlab(92.90, -7.47, 55.59)
CIE-LCHlch(92.90, 56.09, 97.66°)
OKLaboklab(93.62% -0.0226 0.1315)
OKLCHoklch(93.62% 0.133 99.8)
XYZxyz(74.9395, 82.7343, 31.4199)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC7D #7D90FF
analogous
#FFAB7D #FFEC7D #D1FF7D
triadic
#FFEC7D #7DFFEC #EC7DFF
tetradic
#FFEC7D #7DFFAB #7D90FF #FF7DD1
square
#FFEC7D #7DFFAB #7D90FF #FF7DD1
split-complementary
#FFEC7D #7DD1FF #AB7DFF
monochromatic
#FFDA03 #FFE340 #FFEC7D #FFF5BA #FFFBE0

Accessibility & contrast

On white

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

On black

17.55
#FFEC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC7D
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC7D#FFFFFF#000000##000000
##FFEC7D1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE673
Deuteranopia (green-blind)
#FFEE82
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec7d;
/* rgb */ color: rgb(255, 236, 125);
/* oklch */ color: oklch(93.6% 0.133 99.8);
Tailwind
colors: {
  custom: {
    50: '#fff1a5',
    500: '#ffec7d',
    950: '#000000',
  },
}
SCSS
$custom: #ffec7d;
$custom-light: #fff1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec7d",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 125
  },
  "hsl": {
    "h": 51.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93621,
    "c": 0.1334,
    "h": 99.8
  },
  "luminance": 0.82732
}

Semantic roles & 50–950 ramp

primary
#FFEC7D
secondary
#4259DE
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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