#F5DC6D#F5DC6D

#F5DC6D is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.134 H 96.8°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F5DC6D
RGBrgb(245, 220, 109)
HSLhsl(49, 87%, 69%)
HSVhsv(49, 56%, 96%)
CMYKcmyk(0%, 10.2%, 55.5%, 3.9%)
CIE-LABlab(87.83, -4.74, 56.82)
CIE-LCHlch(87.83, 57.02, 94.77°)
OKLaboklab(89.35% -0.0159 0.1328)
OKLCHoklch(89.35% 0.134 96.8)
XYZxyz(66.0122, 71.7059, 24.8285)
Luminance0.7170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC6D #6D86F5
analogous
#F5986D #F5DC6D #CAF56D
triadic
#F5DC6D #6DF5DC #DC6DF5
tetradic
#F5DC6D #6DF598 #6D86F5 #F56DCA
square
#F5DC6D #6DF598 #6D86F5 #F56DCA
split-complementary
#F5DC6D #6DCAF5 #986DF5
monochromatic
#D9B40F #F1CE34 #F5DC6D #F9EAA6 #FDF7E0

Accessibility & contrast

On white

1.37
#F5DC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#F5DC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC6D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC6D#FFFFFF#000000##000000
##F5DC6D1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD762
Deuteranopia (green-blind)
#F5E072
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc6d;
/* rgb */ color: rgb(245, 220, 109);
/* oklch */ color: oklch(89.3% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#fbe69a',
    500: '#f5dc6d',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc6d;
$custom-light: #fbe69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc6d",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 109
  },
  "hsl": {
    "h": 48.971,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89347,
    "c": 0.13372,
    "h": 96.8
  },
  "luminance": 0.71703
}

Semantic roles & 50–950 ramp

primary
#F5DC6D
secondary
#3753CF
accent
#2BE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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