#FFED9C#FFED9C

#FFED9C is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.3% C 0.103 H 97.2°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#FFED9C
RGBrgb(255, 237, 156)
HSLhsl(49, 100%, 81%)
HSVhsv(49, 39%, 100%)
CMYKcmyk(0%, 7.1%, 38.8%, 0%)
CIE-LABlab(93.55, -5.03, 41.44)
CIE-LCHlch(93.55, 41.75, 96.92°)
OKLaboklab(94.27% -0.0128 0.1017)
OKLCHoklch(94.27% 0.103 97.2)
XYZxyz(77.5265, 84.2311, 43.6204)
Luminance0.8423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED9C #9CAEFF
analogous
#FFBB9C #FFED9C #DFFF9C
triadic
#FFED9C #9CFFED #ED9CFF
tetradic
#FFED9C #9CFFBB #9CAEFF #FF9CDF
square
#FFED9C #9CFFBB #9CAEFF #FF9CDF
split-complementary
#FFED9C #9CDFFF #BB9CFF
monochromatic
#FFD722 #FFE25F #FFED9C #FFF8D9 #FFF9E0

Accessibility & contrast

On white

1.18
#FFED9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#FFED9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED9C
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED9C#FFFFFF#000000##000000
##FFED9C1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE996
Deuteranopia (green-blind)
#FFEF9F
Tritanopia (blue-blind)
#FFE2D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffed9c;
/* rgb */ color: rgb(255, 237, 156);
/* oklch */ color: oklch(94.3% 0.103 97.2);
Tailwind
colors: {
  custom: {
    50: '#fff2ba',
    500: '#ffed9c',
    950: '#000000',
  },
}
SCSS
$custom: #ffed9c;
$custom-light: #fff2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed9c",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 156
  },
  "hsl": {
    "h": 49.091,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.94268,
    "c": 0.10251,
    "h": 97.2
  },
  "luminance": 0.84229
}

Semantic roles & 50–950 ramp

primary
#FFED9C
secondary
#5D75E2
accent
#2AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFED9C

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

Preview Lab → · Contrast checker → · Palette generator →

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