#F5DC6A#F5DC6A

#F5DC6A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.136 H 97.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F5DC6A
RGBrgb(245, 220, 106)
HSLhsl(49, 87%, 69%)
HSVhsv(49, 57%, 96%)
CMYKcmyk(0%, 10.2%, 56.7%, 3.9%)
CIE-LABlab(87.80, -4.96, 58.16)
CIE-LCHlch(87.80, 58.37, 94.88°)
OKLaboklab(89.31% -0.0169 0.1353)
OKLCHoklch(89.31% 0.136 97.1)
XYZxyz(65.8534, 71.6424, 23.9925)
Luminance0.7164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC6A #6A83F5
analogous
#F5976A #F5DC6A #C8F56A
triadic
#F5DC6A #6AF5DC #DC6AF5
tetradic
#F5DC6A #6AF597 #6A83F5 #F56AC8
square
#F5DC6A #6AF597 #6A83F5 #F56AC8
split-complementary
#F5DC6A #6AC8F5 #976AF5
monochromatic
#D6B20E #F1CF31 #F5DC6A #F9E9A3 #FDF7DD

Accessibility & contrast

On white

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

On black

15.33
#F5DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC6A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC6A#FFFFFF#000000##000000
##F5DC6A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dc6a;
/* rgb */ color: rgb(245, 220, 106);
/* oklch */ color: oklch(89.3% 0.136 97.1);
Tailwind
colors: {
  custom: {
    50: '#fbe698',
    500: '#f5dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc6a;
$custom-light: #fbe698;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc6a",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 49.209,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89313,
    "c": 0.13637,
    "h": 97.1
  },
  "luminance": 0.71639
}

Semantic roles & 50–950 ramp

primary
#F5DC6A
secondary
#3550CE
accent
#2AE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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