#F5D570#F5D570

#F5D570 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 88.0% C 0.126 H 92.1°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#F5D570
RGBrgb(245, 213, 112)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 13.1%, 54.3%, 3.9%)
CIE-LABlab(86.09, -0.95, 53.40)
CIE-LCHlch(86.09, 53.41, 91.02°)
OKLaboklab(87.99% -0.0046 0.1257)
OKLCHoklch(87.99% 0.126 92.1)
XYZxyz(64.3776, 68.1739, 25.0940)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D570 #7090F5
analogous
#F59370 #F5D570 #D2F570
triadic
#F5D570 #70F5D5 #D570F5
tetradic
#F5D570 #70F593 #7090F5 #F570D2
square
#F5D570 #70F593 #7090F5 #F570D2
split-complementary
#F5D570 #70D2F5 #9370F5
monochromatic
#DBAA0F #F1C437 #F5D570 #F9E6A9 #FDF7E2

Accessibility & contrast

On white

1.43
#F5D570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#F5D570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D570
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D570#FFFFFF#000000##000000
##F5D5701.001.4314.6314.63
#FFFFFF1.431.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d570;
/* rgb */ color: rgb(245, 213, 112);
/* oklch */ color: oklch(88.0% 0.126 92.1);
Tailwind
colors: {
  custom: {
    50: '#fbe19b',
    500: '#f5d570',
    950: '#000000',
  },
}
SCSS
$custom: #f5d570;
$custom-light: #fbe19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d570",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 112
  },
  "hsl": {
    "h": 45.564,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.87987,
    "c": 0.12573,
    "h": 92.1
  },
  "luminance": 0.68171
}

Semantic roles & 50–950 ramp

primary
#F5D570
secondary
#3A5ECF
accent
#38E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D570

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

Preview Lab → · Contrast checker → · Palette generator →

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