#F5E570#F5E570

#F5E570 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.2% C 0.139 H 101.6°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F5E570
RGBrgb(245, 229, 112)
HSLhsl(53, 87%, 70%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.5%, 54.3%, 3.9%)
CIE-LABlab(90.15, -9.03, 58.14)
CIE-LCHlch(90.15, 58.84, 98.82°)
OKLaboklab(91.2% -0.0279 0.1359)
OKLCHoklch(91.2% 0.139 101.6)
XYZxyz(68.6024, 76.6235, 26.5022)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E570 #7080F5
analogous
#F5A370 #F5E570 #C2F570
triadic
#F5E570 #70F5E5 #E570F5
tetradic
#F5E570 #70F5A3 #7080F5 #F570C2
square
#F5E570 #70F5A3 #7080F5 #F570C2
split-complementary
#F5E570 #70C2F5 #A370F5
monochromatic
#DBC30F #F1DB37 #F5E570 #F9EFA9 #FDFAE2

Accessibility & contrast

On white

1.29
#F5E570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#F5E570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E570
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E570#FFFFFF#000000##000000
##F5E5701.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF65
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e570;
/* rgb */ color: rgb(245, 229, 112);
/* oklch */ color: oklch(91.2% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#fbed9c',
    500: '#f5e570',
    950: '#000000',
  },
}
SCSS
$custom: #f5e570;
$custom-light: #fbed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e570",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 112
  },
  "hsl": {
    "h": 52.782,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.91196,
    "c": 0.13877,
    "h": 101.6
  },
  "luminance": 0.76621
}

Semantic roles & 50–950 ramp

primary
#F5E570
secondary
#3A4CCF
accent
#1DE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E570

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

Preview Lab → · Contrast checker → · Palette generator →

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