#F5D34C#F5D34C

#F5D34C is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.153 H 94.7°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#F5D34C
RGBrgb(245, 211, 76)
HSLhsl(48, 89%, 63%)
HSVhsv(48, 69%, 96%)
CMYKcmyk(0%, 13.9%, 69%, 3.9%)
CIE-LABlab(85.26, -2.25, 68.19)
CIE-LCHlch(85.26, 68.22, 91.89°)
OKLaboklab(87.23% -0.0125 0.1524)
OKLCHoklch(87.23% 0.153 94.7)
XYZxyz(62.2581, 66.5262, 16.3976)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D34C #4C6EF5
analogous
#F57E4C #F5D34C #C2F54C
triadic
#F5D34C #4CF5D3 #D34CF5
tetradic
#F5D34C #4CF57E #4C6EF5 #F54CC2
square
#F5D34C #4CF57E #4C6EF5 #F54CC2
split-complementary
#F5D34C #4CC2F5 #7E4CF5
monochromatic
#BC980B #F2C512 #F5D34C #F8E186 #FBEFC0

Accessibility & contrast

On white

1.47
#F5D34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#F5D34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D34C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D34C#FFFFFF#000000##000000
##F5D34C1.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF39
Deuteranopia (green-blind)
#F1D953
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d34c;
/* rgb */ color: rgb(245, 211, 76);
/* oklch */ color: oklch(87.2% 0.153 94.7);
Tailwind
colors: {
  custom: {
    50: '#fce085',
    500: '#f5d34c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d34c;
$custom-light: #fce085;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d34c",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 47.929,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87227,
    "c": 0.15292,
    "h": 94.7
  },
  "luminance": 0.66523
}

Semantic roles & 50–950 ramp

primary
#F5D34C
secondary
#2B48BA
accent
#2EE600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D34C

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

Preview Lab → · Contrast checker → · Palette generator →

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