#F5D24E#F5D24E

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

Color values

HEX#F5D24E
RGBrgb(245, 210, 78)
HSLhsl(47, 89%, 63%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 14.3%, 68.2%, 3.9%)
CIE-LABlab(85.03, -1.64, 67.15)
CIE-LCHlch(85.03, 67.17, 91.40°)
OKLaboklab(87.04% -0.0105 0.1506)
OKLCHoklch(87.04% 0.151 94)
XYZxyz(62.0811, 66.0591, 16.6870)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D24E #4E71F5
analogous
#F57E4E #F5D24E #C4F54E
triadic
#F5D24E #4EF5D2 #D24EF5
tetradic
#F5D24E #4EF57E #4E71F5 #F54EC4
square
#F5D24E #4EF57E #4E71F5 #F54EC4
split-complementary
#F5D24E #4EC4F5 #7E4EF5
monochromatic
#BE980B #F2C314 #F5D24E #F8E188 #FCEFC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D24E#FFFFFF#000000##000000
##F5D24E1.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)
#E7CE3C
Deuteranopia (green-blind)
#F0D955
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d24e;
/* rgb */ color: rgb(245, 210, 78);
/* oklch */ color: oklch(87.0% 0.151 94.0);
Tailwind
colors: {
  custom: {
    50: '#fcdf86',
    500: '#f5d24e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d24e;
$custom-light: #fcdf86;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d24e",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 78
  },
  "hsl": {
    "h": 47.425,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87044,
    "c": 0.15094,
    "h": 94
  },
  "luminance": 0.66056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D24E

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

Preview Lab → · Contrast checker → · Palette generator →

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