#F5DC70#F5DC70

#F5DC70 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.131 H 96.5°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#F5DC70
RGBrgb(245, 220, 112)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 54%, 96%)
CMYKcmyk(0%, 10.2%, 54.3%, 3.9%)
CIE-LABlab(87.86, -4.51, 55.48)
CIE-LCHlch(87.86, 55.66, 94.65°)
OKLaboklab(89.38% -0.0149 0.1302)
OKLCHoklch(89.38% 0.131 96.5)
XYZxyz(66.1764, 71.7716, 25.6936)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC70 #7089F5
analogous
#F59A70 #F5DC70 #CBF570
triadic
#F5DC70 #70F5DC #DC70F5
tetradic
#F5DC70 #70F59A #7089F5 #F570CB
square
#F5DC70 #70F59A #7089F5 #F570CB
split-complementary
#F5DC70 #70CBF5 #9A70F5
monochromatic
#DBB50F #F1CE37 #F5DC70 #F9EAA9 #FDF8E2

Accessibility & contrast

On white

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

On black

15.35
#F5DC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC70
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC70#FFFFFF#000000##000000
##F5DC701.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dc70;
/* rgb */ color: rgb(245, 220, 112);
/* oklch */ color: oklch(89.4% 0.131 96.5);
Tailwind
colors: {
  custom: {
    50: '#fbe69c',
    500: '#f5dc70',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc70;
$custom-light: #fbe69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc70",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 48.722,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.89382,
    "c": 0.13101,
    "h": 96.5
  },
  "luminance": 0.71769
}

Semantic roles & 50–950 ramp

primary
#F5DC70
secondary
#3A56CF
accent
#2CE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC70

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

Preview Lab → · Contrast checker → · Palette generator →

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