#F5CF5C#F5CF5C

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

Color values

HEX#F5CF5C
RGBrgb(245, 207, 92)
HSLhsl(45, 88%, 66%)
HSVhsv(45, 62%, 96%)
CMYKcmyk(0%, 15.5%, 62.4%, 3.9%)
CIE-LABlab(84.39, 0.70, 60.59)
CIE-LCHlch(84.39, 60.60, 89.34°)
OKLaboklab(86.58% -0.0022 0.1388)
OKLCHoklch(86.58% 0.139 90.9)
XYZxyz(61.9038, 64.8142, 19.3729)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF5C #5C82F5
analogous
#F5825C #F5CF5C #CEF55C
triadic
#F5CF5C #5CF5CF #CF5CF5
tetradic
#F5CF5C #5CF582 #5C82F5 #F55CCE
square
#F5CF5C #5CF582 #5C82F5 #F55CCE
split-complementary
#F5CF5C #5CCEF5 #825CF5
monochromatic
#CA9B0C #F1BE22 #F5CF5C #F9E096 #FCF1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5CF5C#FFFFFF#000000##000000
##F5CF5C1.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)
#E4CC4F
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5cf5c;
/* rgb */ color: rgb(245, 207, 92);
/* oklch */ color: oklch(86.6% 0.139 90.9);
Tailwind
colors: {
  custom: {
    50: '#fcdd8e',
    500: '#f5cf5c',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf5c;
$custom-light: #fcdd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf5c",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 45.098,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86576,
    "c": 0.13881,
    "h": 90.9
  },
  "luminance": 0.64811
}

Semantic roles & 50–950 ramp

primary
#F5CF5C
secondary
#2F54C6
accent
#39E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5CF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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