#F5CF4C#F5CF4C

#F5CF4C is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.150 H 92.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#F5CF4C
RGBrgb(245, 207, 76)
HSLhsl(47, 89%, 63%)
HSVhsv(47, 69%, 96%)
CMYKcmyk(0%, 15.5%, 69%, 3.9%)
CIE-LABlab(84.26, -0.21, 67.16)
CIE-LCHlch(84.26, 67.16, 90.18°)
OKLaboklab(86.43% -0.0067 0.1503)
OKLCHoklch(86.43% 0.15 92.5)
XYZxyz(61.2767, 64.5634, 16.0705)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF4C #4C72F5
analogous
#F57A4C #F5CF4C #C6F54C
triadic
#F5CF4C #4CF5CF #CF4CF5
tetradic
#F5CF4C #4CF57A #4C72F5 #F54CC6
square
#F5CF4C #4CF57A #4C72F5 #F54CC6
split-complementary
#F5CF4C #4CC6F5 #7A4CF5
monochromatic
#BC940B #F2BF12 #F5CF4C #F8DF86 #FBEEC0

Accessibility & contrast

On white

1.51
#F5CF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#F5CF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CF4C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CF4C#FFFFFF#000000##000000
##F5CF4C1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3A
Deuteranopia (green-blind)
#EED753
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf4c;
/* rgb */ color: rgb(245, 207, 76);
/* oklch */ color: oklch(86.4% 0.150 92.5);
Tailwind
colors: {
  custom: {
    50: '#fddd85',
    500: '#f5cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf4c;
$custom-light: #fddd85;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf4c",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 46.509,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86432,
    "c": 0.1504,
    "h": 92.5
  },
  "luminance": 0.6456
}

Semantic roles & 50–950 ramp

primary
#F5CF4C
secondary
#2B4BBA
accent
#34E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F5CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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