#F5D24F#F5D24F

#F5D24F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.150 H 93.9°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F5D24F
RGBrgb(245, 210, 79)
HSLhsl(47, 89%, 64%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 14.3%, 67.8%, 3.9%)
CIE-LABlab(85.03, -1.59, 66.76)
CIE-LCHlch(85.03, 66.78, 91.36°)
OKLaboklab(87.05% -0.0103 0.1499)
OKLCHoklch(87.05% 0.15 93.9)
XYZxyz(62.1172, 66.0736, 16.8772)
Luminance0.6607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D24F #4F72F5
analogous
#F57F4F #F5D24F #C5F54F
triadic
#F5D24F #4FF5D2 #D24FF5
tetradic
#F5D24F #4FF57F #4F72F5 #F54FC5
square
#F5D24F #4FF57F #4F72F5 #F54FC5
split-complementary
#F5D24F #4FC5F5 #7F4FF5
monochromatic
#BF990B #F2C315 #F5D24F #F8E189 #FCF0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D24F#FFFFFF#000000##000000
##F5D24F1.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)
#E7CE3E
Deuteranopia (green-blind)
#F0D956
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d24f;
/* rgb */ color: rgb(245, 210, 79);
/* oklch */ color: oklch(87.1% 0.150 93.9);
Tailwind
colors: {
  custom: {
    50: '#fcdf87',
    500: '#f5d24f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d24f;
$custom-light: #fcdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d24f",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 47.349,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87052,
    "c": 0.15026,
    "h": 93.9
  },
  "luminance": 0.6607
}

Semantic roles & 50–950 ramp

primary
#F5D24F
secondary
#2C4ABD
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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