#F5CF5A#F5CF5A

#F5CF5A is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.6% C 0.140 H 91.1°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#F5CF5A
RGBrgb(245, 207, 90)
HSLhsl(45, 89%, 66%)
HSVhsv(45, 63%, 96%)
CMYKcmyk(0%, 15.5%, 63.3%, 3.9%)
CIE-LABlab(84.37, 0.58, 61.45)
CIE-LCHlch(84.37, 61.45, 89.46°)
OKLaboklab(86.56% -0.0028 0.1403)
OKLCHoklch(86.56% 0.14 91.1)
XYZxyz(61.8175, 64.7797, 18.9186)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF5A #5A80F5
analogous
#F5815A #F5CF5A #CEF55A
triadic
#F5CF5A #5AF5CF #CF5AF5
tetradic
#F5CF5A #5AF581 #5A80F5 #F55ACE
square
#F5CF5A #5AF581 #5A80F5 #F55ACE
split-complementary
#F5CF5A #5ACEF5 #815AF5
monochromatic
#C89A0C #F2BE20 #F5CF5A #F8E094 #FCF1CD

Accessibility & contrast

On white

1.50
#F5CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#F5CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CF5A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CF5A#FFFFFF#000000##000000
##F5CF5A1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4D
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf5a;
/* rgb */ color: rgb(245, 207, 90);
/* oklch */ color: oklch(86.6% 0.140 91.1);
Tailwind
colors: {
  custom: {
    50: '#fcdd8d',
    500: '#f5cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf5a;
$custom-light: #fcdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf5a",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 45.29,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86557,
    "c": 0.14036,
    "h": 91.1
  },
  "luminance": 0.64776
}

Semantic roles & 50–950 ramp

primary
#F5CF5A
secondary
#2E53C5
accent
#38E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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