#F5E17D#F5E17D

#F5E17D is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.123 H 98.3°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F5E17D
RGBrgb(245, 225, 125)
HSLhsl(50, 86%, 73%)
HSVhsv(50, 49%, 96%)
CMYKcmyk(0%, 8.2%, 49%, 3.9%)
CIE-LABlab(89.27, -5.95, 51.04)
CIE-LCHlch(89.27, 51.38, 96.65°)
OKLaboklab(90.55% -0.0177 0.1216)
OKLCHoklch(90.55% 0.123 98.3)
XYZxyz(68.2851, 74.7461, 30.2286)
Luminance0.7474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E17D #7D91F5
analogous
#F5A57D #F5E17D #CDF57D
triadic
#F5E17D #7DF5E1 #E17DF5
tetradic
#F5E17D #7DF5A5 #7D91F5 #F57DCD
square
#F5E17D #7DF5A5 #7D91F5 #F57DCD
split-complementary
#F5E17D #7DCDF5 #A57DF5
monochromatic
#E6C312 #F1D444 #F5E17D #F9EEB6 #FDF8E3

Accessibility & contrast

On white

1.32
#F5E17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F5E17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E17D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E17D#FFFFFF#000000##000000
##F5E17D1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC74
Deuteranopia (green-blind)
#F8E381
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e17d;
/* rgb */ color: rgb(245, 225, 125);
/* oklch */ color: oklch(90.5% 0.123 98.3);
Tailwind
colors: {
  custom: {
    50: '#faeaa5',
    500: '#f5e17d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e17d;
$custom-light: #faeaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e17d",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 50,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9055,
    "c": 0.12288,
    "h": 98.3
  },
  "luminance": 0.74744
}

Semantic roles & 50–950 ramp

primary
#F5E17D
secondary
#465DD1
accent
#28E203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E17D

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

Preview Lab → · Contrast checker → · Palette generator →

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