#F5DE6D#F5DE6D

#F5DE6D is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.135 H 98.0°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F5DE6D
RGBrgb(245, 222, 109)
HSLhsl(50, 87%, 69%)
HSVhsv(50, 56%, 96%)
CMYKcmyk(0%, 9.4%, 55.5%, 3.9%)
CIE-LABlab(88.33, -5.75, 57.41)
CIE-LCHlch(88.33, 57.70, 95.72°)
OKLaboklab(89.75% -0.0188 0.134)
OKLCHoklch(89.75% 0.135 98)
XYZxyz(66.5402, 72.7619, 25.0045)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE6D #6D84F5
analogous
#F59A6D #F5DE6D #C8F56D
triadic
#F5DE6D #6DF5DE #DE6DF5
tetradic
#F5DE6D #6DF59A #6D84F5 #F56DC8
square
#F5DE6D #6DF59A #6D84F5 #F56DC8
split-complementary
#F5DE6D #6DC8F5 #9A6DF5
monochromatic
#D9B70F #F1D134 #F5DE6D #F9EBA6 #FDF8E0

Accessibility & contrast

On white

1.35
#F5DE6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F5DE6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE6D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE6D#FFFFFF#000000##000000
##F5DE6D1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D962
Deuteranopia (green-blind)
#F7E172
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de6d;
/* rgb */ color: rgb(245, 222, 109);
/* oklch */ color: oklch(89.7% 0.135 98.0);
Tailwind
colors: {
  custom: {
    50: '#fbe89a',
    500: '#f5de6d',
    950: '#000000',
  },
}
SCSS
$custom: #f5de6d;
$custom-light: #fbe89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de6d",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 109
  },
  "hsl": {
    "h": 49.853,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89748,
    "c": 0.13535,
    "h": 98
  },
  "luminance": 0.72759
}

Semantic roles & 50–950 ramp

primary
#F5DE6D
secondary
#3751CF
accent
#28E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE6D

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

Preview Lab → · Contrast checker → · Palette generator →

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