#F0CF60#F0CF60

#F0CF60 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.135 H 92.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#F0CF60
RGBrgb(240, 207, 96)
HSLhsl(46, 83%, 66%)
HSVhsv(46, 60%, 94%)
CMYKcmyk(0%, 13.7%, 60%, 5.9%)
CIE-LABlab(83.97, -1.10, 58.22)
CIE-LCHlch(83.97, 58.23, 91.09°)
OKLaboklab(86.15% -0.0066 0.1344)
OKLCHoklch(86.15% 0.135 92.8)
XYZxyz(60.3620, 63.9985, 20.2376)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF60 #6081F0
analogous
#F08760 #F0CF60 #C9F060
triadic
#F0CF60 #60F0CF #CF60F0
tetradic
#F0CF60 #60F087 #6081F0 #F060C9
square
#F0CF60 #60F087 #6081F0 #F060C9
split-complementary
#F0CF60 #60C9F0 #8760F0
monochromatic
#C39B12 #EBBE28 #F0CF60 #F5E098 #FBF1D0

Accessibility & contrast

On white

1.52
#F0CF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#F0CF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF60
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF60#FFFFFF#000000##000000
##F0CF601.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC54
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf60;
/* rgb */ color: rgb(240, 207, 96);
/* oklch */ color: oklch(86.1% 0.135 92.8);
Tailwind
colors: {
  custom: {
    50: '#f8dd91',
    500: '#f0cf60',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf60;
$custom-light: #f8dd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf60",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 96
  },
  "hsl": {
    "h": 46.25,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86147,
    "c": 0.13453,
    "h": 92.8
  },
  "luminance": 0.63995
}

Semantic roles & 50–950 ramp

primary
#F0CF60
secondary
#3354C1
accent
#38DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF60

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

Preview Lab → · Contrast checker → · Palette generator →

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