#F0CF68#F0CF68

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

Color values

HEX#F0CF68
RGBrgb(240, 207, 104)
HSLhsl(45, 82%, 67%)
HSVhsv(45, 57%, 94%)
CMYKcmyk(0%, 13.7%, 56.7%, 5.9%)
CIE-LABlab(84.05, -0.53, 54.64)
CIE-LCHlch(84.05, 54.65, 90.56°)
OKLaboklab(86.24% -0.004 0.1276)
OKLCHoklch(86.24% 0.128 91.8)
XYZxyz(60.7493, 64.1534, 22.2770)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF68 #6889F0
analogous
#F08B68 #F0CF68 #CDF068
triadic
#F0CF68 #68F0CF #CF68F0
tetradic
#F0CF68 #68F08B #6889F0 #F068CD
square
#F0CF68 #68F08B #6889F0 #F068CD
split-complementary
#F0CF68 #68CDF0 #8B68F0
monochromatic
#CA9E14 #EABD30 #F0CF68 #F6E1A0 #FBF2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CF68#FFFFFF#000000##000000
##F0CF681.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)
#E2CC5E
Deuteranopia (green-blind)
#EAD66C
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0cf68;
/* rgb */ color: rgb(240, 207, 104);
/* oklch */ color: oklch(86.2% 0.128 91.8);
Tailwind
colors: {
  custom: {
    50: '#f8dd96',
    500: '#f0cf68',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf68;
$custom-light: #f8dd96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf68",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 45.441,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86237,
    "c": 0.12768,
    "h": 91.8
  },
  "luminance": 0.6415
}

Semantic roles & 50–950 ramp

primary
#F0CF68
secondary
#3659C6
accent
#3BDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0CF68

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

Preview Lab → · Contrast checker → · Palette generator →

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