#F5CD4C#F5CD4C

#F5CD4C is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 86.0% C 0.149 H 91.4°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#F5CD4C
RGBrgb(245, 205, 76)
HSLhsl(46, 89%, 63%)
HSVhsv(46, 69%, 96%)
CMYKcmyk(0%, 16.3%, 69%, 3.9%)
CIE-LABlab(83.76, 0.82, 66.65)
CIE-LCHlch(83.76, 66.66, 89.30°)
OKLaboklab(86.04% -0.0037 0.1492)
OKLCHoklch(86.04% 0.149 91.4)
XYZxyz(60.7953, 63.6005, 15.9100)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CD4C #4C74F5
analogous
#F5784C #F5CD4C #C8F54C
triadic
#F5CD4C #4CF5CD #CD4CF5
tetradic
#F5CD4C #4CF578 #4C74F5 #F54CC8
square
#F5CD4C #4CF578 #4C74F5 #F54CC8
split-complementary
#F5CD4C #4CC8F5 #784CF5
monochromatic
#BC920B #F2BD12 #F5CD4C #F8DD86 #FBEDC0

Accessibility & contrast

On white

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

On black

13.72
#F5CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CD4C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CD4C#FFFFFF#000000##000000
##F5CD4C1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5cd4c;
/* rgb */ color: rgb(245, 205, 76);
/* oklch */ color: oklch(86.0% 0.149 91.4);
Tailwind
colors: {
  custom: {
    50: '#fddb85',
    500: '#f5cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #f5cd4c;
$custom-light: #fddb85;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cd4c",
  "rgb": {
    "r": 245,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 45.799,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86037,
    "c": 0.14922,
    "h": 91.4
  },
  "luminance": 0.63597
}

Semantic roles & 50–950 ramp

primary
#F5CD4C
secondary
#2B4DBA
accent
#36E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F5CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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