#F0CF55#F0CF55

#F0CF55 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.143 H 94.0°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#F0CF55
RGBrgb(240, 207, 85)
HSLhsl(47, 84%, 64%)
HSVhsv(47, 65%, 94%)
CMYKcmyk(0%, 13.7%, 64.6%, 5.9%)
CIE-LABlab(83.87, -1.80, 62.92)
CIE-LCHlch(83.87, 62.95, 91.64°)
OKLaboklab(86.04% -0.0099 0.1429)
OKLCHoklch(86.04% 0.143 94)
XYZxyz(59.8906, 63.8099, 17.7545)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF55 #5576F0
analogous
#F08155 #F0CF55 #C3F055
triadic
#F0CF55 #55F0CF #CF55F0
tetradic
#F0CF55 #55F081 #5576F0 #F055C3
square
#F0CF55 #55F081 #5576F0 #F055C3
split-complementary
#F0CF55 #55C3F0 #8155F0
monochromatic
#BA9610 #EBBF1D #F0CF55 #F5DF8D #FAEFC5

Accessibility & contrast

On white

1.53
#F0CF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#F0CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF55
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF55#FFFFFF#000000##000000
##F0CF551.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB47
Deuteranopia (green-blind)
#ECD55B
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf55;
/* rgb */ color: rgb(240, 207, 85);
/* oklch */ color: oklch(86.0% 0.143 94.0);
Tailwind
colors: {
  custom: {
    50: '#f9dd8a',
    500: '#f0cf55',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf55;
$custom-light: #f9dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf55",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 47.226,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86038,
    "c": 0.14321,
    "h": 94
  },
  "luminance": 0.63807
}

Semantic roles & 50–950 ramp

primary
#F0CF55
secondary
#304DB9
accent
#34E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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