#F5DF6D#F5DF6D

#F5DF6D is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.136 H 98.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F5DF6D
RGBrgb(245, 223, 109)
HSLhsl(50, 87%, 69%)
HSVhsv(50, 56%, 96%)
CMYKcmyk(0%, 9%, 55.5%, 3.9%)
CIE-LABlab(88.59, -6.25, 57.70)
CIE-LCHlch(88.59, 58.04, 96.18°)
OKLaboklab(89.95% -0.0203 0.1347)
OKLCHoklch(89.95% 0.136 98.6)
XYZxyz(66.8066, 73.2947, 25.0933)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF6D #6D83F5
analogous
#F59B6D #F5DF6D #C7F56D
triadic
#F5DF6D #6DF5DF #DF6DF5
tetradic
#F5DF6D #6DF59B #6D83F5 #F56DC7
square
#F5DF6D #6DF59B #6D83F5 #F56DC7
split-complementary
#F5DF6D #6DC7F5 #9B6DF5
monochromatic
#D9B80F #F1D234 #F5DF6D #F9ECA6 #FDF8E0

Accessibility & contrast

On white

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

On black

15.66
#F5DF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF6D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF6D#FFFFFF#000000##000000
##F5DF6D1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA62
Deuteranopia (green-blind)
#F8E272
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df6d;
/* rgb */ color: rgb(245, 223, 109);
/* oklch */ color: oklch(90.0% 0.136 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbe89a',
    500: '#f5df6d',
    950: '#000000',
  },
}
SCSS
$custom: #f5df6d;
$custom-light: #fbe89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df6d",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 109
  },
  "hsl": {
    "h": 50.294,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8995,
    "c": 0.13619,
    "h": 98.6
  },
  "luminance": 0.73292
}

Semantic roles & 50–950 ramp

primary
#F5DF6D
secondary
#3750CF
accent
#26E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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