#F0CF65#F0CF65

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

Color values

HEX#F0CF65
RGBrgb(240, 207, 101)
HSLhsl(46, 82%, 67%)
HSVhsv(46, 58%, 94%)
CMYKcmyk(0%, 13.7%, 57.9%, 5.9%)
CIE-LABlab(84.01, -0.75, 56.00)
CIE-LCHlch(84.01, 56.00, 90.77°)
OKLaboklab(86.2% -0.005 0.1302)
OKLCHoklch(86.2% 0.13 92.2)
XYZxyz(60.5996, 64.0935, 21.4887)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF65 #6586F0
analogous
#F08965 #F0CF65 #CCF065
triadic
#F0CF65 #65F0CF #CF65F0
tetradic
#F0CF65 #65F089 #6586F0 #F065CC
square
#F0CF65 #65F089 #6586F0 #F065CC
split-complementary
#F0CF65 #65CCF0 #8965F0
monochromatic
#C79D13 #EBBE2D #F0CF65 #F5E09D #FBF2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CF65#FFFFFF#000000##000000
##F0CF651.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)
#E2CC5B
Deuteranopia (green-blind)
#EBD669
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf65;
/* rgb */ color: rgb(240, 207, 101);
/* oklch */ color: oklch(86.2% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#f8dd94',
    500: '#f0cf65',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf65;
$custom-light: #f8dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf65",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 101
  },
  "hsl": {
    "h": 45.755,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86202,
    "c": 0.1303,
    "h": 92.2
  },
  "luminance": 0.6409
}

Semantic roles & 50–950 ramp

primary
#F0CF65
secondary
#3557C4
accent
#3ADF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF65

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

Preview Lab → · Contrast checker → · Palette generator →

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