#F0D86B#F0D86B

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

Color values

HEX#F0D86B
RGBrgb(240, 216, 107)
HSLhsl(49, 82%, 68%)
HSVhsv(49, 55%, 94%)
CMYKcmyk(0%, 10%, 55.4%, 5.9%)
CIE-LABlab(86.36, -4.90, 55.93)
CIE-LCHlch(86.36, 56.14, 95.01°)
OKLaboklab(88.07% -0.0163 0.1307)
OKLCHoklch(88.07% 0.132 97.1)
XYZxyz(63.1472, 68.7012, 23.8415)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D86B #6B83F0
analogous
#F0956B #F0D86B #C5F06B
triadic
#F0D86B #6BF0D8 #D86BF0
tetradic
#F0D86B #6BF095 #6B83F0 #F06BC5
square
#F0D86B #6BF095 #6B83F0 #F06BC5
split-complementary
#F0D86B #6BC5F0 #956BF0
monochromatic
#CCAB15 #EAC933 #F0D86B #F6E7A3 #FBF5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D86B#FFFFFF#000000##000000
##F0D86B1.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)
#EAD360
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d86b;
/* rgb */ color: rgb(240, 216, 107);
/* oklch */ color: oklch(88.1% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#f8e398',
    500: '#f0d86b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d86b;
$custom-light: #f8e398;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d86b",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 49.173,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88073,
    "c": 0.13173,
    "h": 97.1
  },
  "luminance": 0.68699
}

Semantic roles & 50–950 ramp

primary
#F0D86B
secondary
#3751C8
accent
#2EDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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