#F0D860#F0D860

#F0D860 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.141 H 98.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F0D860
RGBrgb(240, 216, 96)
HSLhsl(50, 83%, 66%)
HSVhsv(50, 60%, 94%)
CMYKcmyk(0%, 10%, 60%, 5.9%)
CIE-LABlab(86.25, -5.69, 60.76)
CIE-LCHlch(86.25, 61.03, 95.35°)
OKLaboklab(87.95% -0.0198 0.1398)
OKLCHoklch(87.95% 0.141 98.1)
XYZxyz(62.6049, 68.4843, 20.9852)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D860 #6078F0
analogous
#F09060 #F0D860 #C0F060
triadic
#F0D860 #60F0D8 #D860F0
tetradic
#F0D860 #60F090 #6078F0 #F060C0
square
#F0D860 #60F090 #6078F0 #F060C0
split-complementary
#F0D860 #60C0F0 #9060F0
monochromatic
#C3A612 #EBCA28 #F0D860 #F5E698 #FBF3D0

Accessibility & contrast

On white

1.43
#F0D860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F0D860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D860
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D860#FFFFFF#000000##000000
##F0D8601.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#F2DB66
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d860;
/* rgb */ color: rgb(240, 216, 96);
/* oklch */ color: oklch(88.0% 0.141 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8e391',
    500: '#f0d860',
    950: '#000000',
  },
}
SCSS
$custom: #f0d860;
$custom-light: #f8e391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d860",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 96
  },
  "hsl": {
    "h": 50,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87953,
    "c": 0.14121,
    "h": 98.1
  },
  "luminance": 0.68482
}

Semantic roles & 50–950 ramp

primary
#F0D860
secondary
#334BC1
accent
#2ADF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D860

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

Preview Lab → · Contrast checker → · Palette generator →

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