#F0CF67#F0CF67

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

Color values

HEX#F0CF67
RGBrgb(240, 207, 103)
HSLhsl(46, 82%, 67%)
HSVhsv(46, 57%, 94%)
CMYKcmyk(0%, 13.7%, 57.1%, 5.9%)
CIE-LABlab(84.04, -0.61, 55.10)
CIE-LCHlch(84.04, 55.10, 90.63°)
OKLaboklab(86.23% -0.0043 0.1285)
OKLCHoklch(86.23% 0.129 91.9)
XYZxyz(60.6988, 64.1332, 22.0111)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF67 #6788F0
analogous
#F08A67 #F0CF67 #CDF067
triadic
#F0CF67 #67F0CF #CF67F0
tetradic
#F0CF67 #67F08A #6788F0 #F067CD
square
#F0CF67 #67F08A #6788F0 #F067CD
split-complementary
#F0CF67 #67CDF0 #8A67F0
monochromatic
#C99D14 #EBBD2F #F0CF67 #F5E19F #FBF2D6

Accessibility & contrast

On white

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

On black

13.83
#F0CF67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF67
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF67#FFFFFF#000000##000000
##F0CF671.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5D
Deuteranopia (green-blind)
#EAD66B
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0cf67;
/* rgb */ color: rgb(240, 207, 103);
/* oklch */ color: oklch(86.2% 0.129 91.9);
Tailwind
colors: {
  custom: {
    50: '#f8dd95',
    500: '#f0cf67',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf67;
$custom-light: #f8dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf67",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 103
  },
  "hsl": {
    "h": 45.547,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86225,
    "c": 0.12856,
    "h": 91.9
  },
  "luminance": 0.6413
}

Semantic roles & 50–950 ramp

primary
#F0CF67
secondary
#3558C6
accent
#3BDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF67

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

Preview Lab → · Contrast checker → · Palette generator →

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