#F0D86C#F0D86C

#F0D86C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.131 H 97.0°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F0D86C
RGBrgb(240, 216, 108)
HSLhsl(49, 81%, 68%)
HSVhsv(49, 55%, 94%)
CMYKcmyk(0%, 10%, 55%, 5.9%)
CIE-LABlab(86.37, -4.82, 55.48)
CIE-LCHlch(86.37, 55.69, 94.97°)
OKLaboklab(88.09% -0.016 0.1299)
OKLCHoklch(88.09% 0.131 97)
XYZxyz(63.2002, 68.7224, 24.1202)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D86C #6C84F0
analogous
#F0966C #F0D86C #C6F06C
triadic
#F0D86C #6CF0D8 #D86CF0
tetradic
#F0D86C #6CF096 #6C84F0 #F06CC6
square
#F0D86C #6CF096 #6C84F0 #F06CC6
split-complementary
#F0D86C #6CC6F0 #966CF0
monochromatic
#CDAB15 #EAC934 #F0D86C #F6E7A4 #FBF5DB

Accessibility & contrast

On white

1.42
#F0D86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F0D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D86C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D86C#FFFFFF#000000##000000
##F0D86C1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD362
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d86c;
/* rgb */ color: rgb(240, 216, 108);
/* oklch */ color: oklch(88.1% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#f8e399',
    500: '#f0d86c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d86c;
$custom-light: #f8e399;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d86c",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 49.091,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88085,
    "c": 0.13083,
    "h": 97
  },
  "luminance": 0.6872
}

Semantic roles & 50–950 ramp

primary
#F0D86C
secondary
#3852C8
accent
#2FDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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