#F5CD50#F5CD50

#F5CD50 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 86.1% C 0.146 H 91.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F5CD50
RGBrgb(245, 205, 80)
HSLhsl(45, 89%, 64%)
HSVhsv(45, 67%, 96%)
CMYKcmyk(0%, 16.3%, 67.3%, 3.9%)
CIE-LABlab(83.79, 1.03, 65.06)
CIE-LCHlch(83.79, 65.07, 89.10°)
OKLaboklab(86.07% -0.0027 0.1465)
OKLCHoklch(86.07% 0.147 91)
XYZxyz(60.9387, 63.6578, 16.6653)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CD50 #5078F5
analogous
#F57A50 #F5CD50 #CAF550
triadic
#F5CD50 #50F5CD #CD50F5
tetradic
#F5CD50 #50F57A #5078F5 #F550CA
square
#F5CD50 #50F57A #5078F5 #F550CA
split-complementary
#F5CD50 #50CAF5 #7A50F5
monochromatic
#C0940B #F2BC16 #F5CD50 #F8DE8A #FCEEC4

Accessibility & contrast

On white

1.53
#F5CD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F5CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CD50
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CD50#FFFFFF#000000##000000
##F5CD501.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA40
Deuteranopia (green-blind)
#ECD656
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f5cd50;
/* rgb */ color: rgb(245, 205, 80);
/* oklch */ color: oklch(86.1% 0.146 91.0);
Tailwind
colors: {
  custom: {
    50: '#fcdb87',
    500: '#f5cd50',
    950: '#000000',
  },
}
SCSS
$custom: #f5cd50;
$custom-light: #fcdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cd50",
  "rgb": {
    "r": 245,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 45.455,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8607,
    "c": 0.1465,
    "h": 91
  },
  "luminance": 0.63654
}

Semantic roles & 50–950 ramp

primary
#F5CD50
secondary
#2C4FBD
accent
#38E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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