#FFED8A#FFED8A

#FFED8A is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 94.0% C 0.122 H 99.2°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#FFED8A
RGBrgb(255, 237, 138)
HSLhsl(51, 100%, 77%)
HSVhsv(51, 46%, 100%)
CMYKcmyk(0%, 7.1%, 45.9%, 0%)
CIE-LABlab(93.31, -6.83, 49.93)
CIE-LCHlch(93.31, 50.40, 97.79°)
OKLaboklab(93.99% -0.0195 0.12)
OKLCHoklch(93.99% 0.122 99.2)
XYZxyz(76.1137, 83.6660, 36.1796)
Luminance0.8366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED8A #8A9CFF
analogous
#FFB38A #FFED8A #D7FF8A
triadic
#FFED8A #8AFFED #ED8AFF
tetradic
#FFED8A #8AFFB3 #8A9CFF #FF8AD7
square
#FFED8A #8AFFB3 #8A9CFF #FF8AD7
split-complementary
#FFED8A #8AD7FF #B38AFF
monochromatic
#FFDA10 #FFE44D #FFED8A #FFF6C7 #FFFAE0

Accessibility & contrast

On white

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

On black

17.73
#FFED8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED8A
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED8A#FFFFFF#000000##000000
##FFED8A1.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE882
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffed8a;
/* rgb */ color: rgb(255, 237, 138);
/* oklch */ color: oklch(94.0% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#fff2ae',
    500: '#ffed8a',
    950: '#000000',
  },
}
SCSS
$custom: #ffed8a;
$custom-light: #fff2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed8a",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 138
  },
  "hsl": {
    "h": 50.769,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93994,
    "c": 0.12153,
    "h": 99.2
  },
  "luminance": 0.83663
}

Semantic roles & 50–950 ramp

primary
#FFED8A
secondary
#4E64E0
accent
#23E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFED8A

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

Preview Lab → · Contrast checker → · Palette generator →

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