#F0CF66#F0CF66

#F0CF66 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.129 H 92.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#F0CF66
RGBrgb(240, 207, 102)
HSLhsl(46, 82%, 67%)
HSVhsv(46, 58%, 94%)
CMYKcmyk(0%, 13.7%, 57.5%, 5.9%)
CIE-LABlab(84.02, -0.68, 55.55)
CIE-LCHlch(84.02, 55.55, 90.70°)
OKLaboklab(86.21% -0.0047 0.1294)
OKLCHoklch(86.21% 0.129 92.1)
XYZxyz(60.6489, 64.1133, 21.7483)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF66 #6687F0
analogous
#F08A66 #F0CF66 #CCF066
triadic
#F0CF66 #66F0CF #CF66F0
tetradic
#F0CF66 #66F08A #6687F0 #F066CC
square
#F0CF66 #66F08A #6687F0 #F066CC
split-complementary
#F0CF66 #66CCF0 #8A66F0
monochromatic
#C89D14 #EBBE2E #F0CF66 #F5E09E #FBF2D5

Accessibility & contrast

On white

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

On black

13.82
#F0CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF66
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF66#FFFFFF#000000##000000
##F0CF661.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0cf66;
/* rgb */ color: rgb(240, 207, 102);
/* oklch */ color: oklch(86.2% 0.129 92.1);
Tailwind
colors: {
  custom: {
    50: '#f8dd95',
    500: '#f0cf66',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf66;
$custom-light: #f8dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf66",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 45.652,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86213,
    "c": 0.12943,
    "h": 92.1
  },
  "luminance": 0.6411
}

Semantic roles & 50–950 ramp

primary
#F0CF66
secondary
#3558C5
accent
#3BDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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