#F5DE8A#F5DE8A

#F5DE8A is a very light, moderate yellow. Relative luminance 0.735; OKLCH L 90.1% C 0.107 H 94.6°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#F5DE8A
RGBrgb(245, 222, 138)
HSLhsl(47, 84%, 75%)
HSVhsv(47, 44%, 96%)
CMYKcmyk(0%, 9.4%, 43.7%, 3.9%)
CIE-LABlab(88.68, -3.22, 43.97)
CIE-LCHlch(88.68, 44.09, 94.19°)
OKLaboklab(90.14% -0.0085 0.1067)
OKLCHoklch(90.14% 0.107 94.6)
XYZxyz(68.3667, 73.4925, 34.6241)
Luminance0.7349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE8A #8AA1F5
analogous
#F5A98A #F5DE8A #D6F58A
triadic
#F5DE8A #8AF5DE #DE8AF5
tetradic
#F5DE8A #8AF5A9 #8AA1F5 #F58AD6
square
#F5DE8A #8AF5A9 #8AA1F5 #F58AD6
split-complementary
#F5DE8A #8AD6F5 #A98AF5
monochromatic
#EBBE19 #F0CE52 #F5DE8A #FAEEC2 #FDF7E3

Accessibility & contrast

On white

1.34
#F5DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#F5DE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE8A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE8A#FFFFFF#000000##000000
##F5DE8A1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA83
Deuteranopia (green-blind)
#F4E28D
Tritanopia (blue-blind)
#FFD2C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5de8a;
/* rgb */ color: rgb(245, 222, 138);
/* oklch */ color: oklch(90.1% 0.107 94.6);
Tailwind
colors: {
  custom: {
    50: '#fae8ad',
    500: '#f5de8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5de8a;
$custom-light: #fae8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de8a",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 47.103,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90137,
    "c": 0.10704,
    "h": 94.6
  },
  "luminance": 0.7349
}

Semantic roles & 50–950 ramp

primary
#F5DE8A
secondary
#516DD2
accent
#34E105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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