#F5D24C#F5D24C

#F5D24C is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.152 H 94.2°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F5D24C
RGBrgb(245, 210, 76)
HSLhsl(48, 89%, 63%)
HSVhsv(48, 69%, 96%)
CMYKcmyk(0%, 14.3%, 69%, 3.9%)
CIE-LABlab(85.01, -1.74, 67.93)
CIE-LCHlch(85.01, 67.95, 91.47°)
OKLaboklab(87.03% -0.0111 0.1519)
OKLCHoklch(87.03% 0.152 94.2)
XYZxyz(62.0104, 66.0309, 16.3151)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D24C #4C6FF5
analogous
#F57D4C #F5D24C #C3F54C
triadic
#F5D24C #4CF5D2 #D24CF5
tetradic
#F5D24C #4CF57D #4C6FF5 #F54CC3
square
#F5D24C #4CF57D #4C6FF5 #F54CC3
split-complementary
#F5D24C #4CC3F5 #7D4CF5
monochromatic
#BC970B #F2C312 #F5D24C #F8E186 #FBEFC0

Accessibility & contrast

On white

1.48
#F5D24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#F5D24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D24C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D24C#FFFFFF#000000##000000
##F5D24C1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE39
Deuteranopia (green-blind)
#F0D953
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d24c;
/* rgb */ color: rgb(245, 210, 76);
/* oklch */ color: oklch(87.0% 0.152 94.2);
Tailwind
colors: {
  custom: {
    50: '#fcdf85',
    500: '#f5d24c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d24c;
$custom-light: #fcdf85;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d24c",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 76
  },
  "hsl": {
    "h": 47.574,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87028,
    "c": 0.15227,
    "h": 94.2
  },
  "luminance": 0.66027
}

Semantic roles & 50–950 ramp

primary
#F5D24C
secondary
#2B49BA
accent
#30E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D24C

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

Preview Lab → · Contrast checker → · Palette generator →

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