#F5DE70#F5DE70

#F5DE70 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.8% C 0.133 H 97.7°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F5DE70
RGBrgb(245, 222, 112)
HSLhsl(50, 87%, 70%)
HSVhsv(50, 54%, 96%)
CMYKcmyk(0%, 9.4%, 54.3%, 3.9%)
CIE-LABlab(88.37, -5.52, 56.07)
CIE-LCHlch(88.37, 56.34, 95.62°)
OKLaboklab(89.78% -0.0178 0.1315)
OKLCHoklch(89.78% 0.133 97.7)
XYZxyz(66.7045, 72.8276, 25.8696)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE70 #7087F5
analogous
#F59B70 #F5DE70 #CAF570
triadic
#F5DE70 #70F5DE #DE70F5
tetradic
#F5DE70 #70F59B #7087F5 #F570CA
square
#F5DE70 #70F59B #7087F5 #F570CA
split-complementary
#F5DE70 #70CAF5 #9B70F5
monochromatic
#DBB80F #F1D137 #F5DE70 #F9EBA9 #FDF8E2

Accessibility & contrast

On white

1.35
#F5DE70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F5DE70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE70
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE70#FFFFFF#000000##000000
##F5DE701.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D966
Deuteranopia (green-blind)
#F7E175
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de70;
/* rgb */ color: rgb(245, 222, 112);
/* oklch */ color: oklch(89.8% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#fbe89c',
    500: '#f5de70',
    950: '#000000',
  },
}
SCSS
$custom: #f5de70;
$custom-light: #fbe89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de70",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 112
  },
  "hsl": {
    "h": 49.624,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.89783,
    "c": 0.13265,
    "h": 97.7
  },
  "luminance": 0.72825
}

Semantic roles & 50–950 ramp

primary
#F5DE70
secondary
#3A54CF
accent
#29E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE70

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

Preview Lab → · Contrast checker → · Palette generator →

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