#F0CF61#F0CF61

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

Color values

HEX#F0CF61
RGBrgb(240, 207, 97)
HSLhsl(46, 83%, 66%)
HSVhsv(46, 60%, 94%)
CMYKcmyk(0%, 13.7%, 59.6%, 5.9%)
CIE-LABlab(83.97, -1.04, 57.78)
CIE-LCHlch(83.97, 57.78, 91.03°)
OKLaboklab(86.16% -0.0063 0.1336)
OKLCHoklch(86.16% 0.134 92.7)
XYZxyz(60.4083, 64.0171, 20.4816)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF61 #6182F0
analogous
#F08761 #F0CF61 #C9F061
triadic
#F0CF61 #61F0CF #CF61F0
tetradic
#F0CF61 #61F087 #6182F0 #F061C9
square
#F0CF61 #61F087 #6182F0 #F061C9
split-complementary
#F0CF61 #61C9F0 #8761F0
monochromatic
#C49B13 #EBBE29 #F0CF61 #F5E099 #FBF1D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CF61#FFFFFF#000000##000000
##F0CF611.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)
#E3CC56
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf61;
/* rgb */ color: rgb(240, 207, 97);
/* oklch */ color: oklch(86.2% 0.134 92.7);
Tailwind
colors: {
  custom: {
    50: '#f8dd91',
    500: '#f0cf61',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf61;
$custom-light: #f8dd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf61",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 97
  },
  "hsl": {
    "h": 46.154,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86158,
    "c": 0.1337,
    "h": 92.7
  },
  "luminance": 0.64014
}

Semantic roles & 50–950 ramp

primary
#F0CF61
secondary
#3454C2
accent
#38DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF61

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

Preview Lab → · Contrast checker → · Palette generator →

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