#F0CF63#F0CF63

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

Color values

HEX#F0CF63
RGBrgb(240, 207, 99)
HSLhsl(46, 82%, 66%)
HSVhsv(46, 59%, 94%)
CMYKcmyk(0%, 13.7%, 58.8%, 5.9%)
CIE-LABlab(83.99, -0.90, 56.89)
CIE-LCHlch(83.99, 56.90, 90.90°)
OKLaboklab(86.18% -0.0057 0.1319)
OKLCHoklch(86.18% 0.132 92.5)
XYZxyz(60.5028, 64.0548, 20.9789)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF63 #6384F0
analogous
#F08963 #F0CF63 #CBF063
triadic
#F0CF63 #63F0CF #CF63F0
tetradic
#F0CF63 #63F089 #6384F0 #F063CB
square
#F0CF63 #63F089 #6384F0 #F063CB
split-complementary
#F0CF63 #63CBF0 #8963F0
monochromatic
#C69C13 #EBBE2B #F0CF63 #F5E09B #FBF1D3

Accessibility & contrast

On white

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

On black

13.81
#F0CF63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF63
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF63#FFFFFF#000000##000000
##F0CF631.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC58
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf63;
/* rgb */ color: rgb(240, 207, 99);
/* oklch */ color: oklch(86.2% 0.132 92.5);
Tailwind
colors: {
  custom: {
    50: '#f8dd93',
    500: '#f0cf63',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf63;
$custom-light: #f8dd93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf63",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 99
  },
  "hsl": {
    "h": 45.957,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.13201,
    "h": 92.5
  },
  "luminance": 0.64052
}

Semantic roles & 50–950 ramp

primary
#F0CF63
secondary
#3456C3
accent
#39DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF63

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

Preview Lab → · Contrast checker → · Palette generator →

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