#F0D86A#F0D86A

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

Color values

HEX#F0D86A
RGBrgb(240, 216, 106)
HSLhsl(49, 82%, 68%)
HSVhsv(49, 56%, 94%)
CMYKcmyk(0%, 10%, 55.8%, 5.9%)
CIE-LABlab(86.35, -4.97, 56.38)
CIE-LCHlch(86.35, 56.60, 95.04°)
OKLaboklab(88.06% -0.0166 0.1316)
OKLCHoklch(88.06% 0.133 97.2)
XYZxyz(63.0949, 68.6803, 23.5660)
Luminance0.6868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D86A #6A82F0
analogous
#F0956A #F0D86A #C5F06A
triadic
#F0D86A #6AF0D8 #D86AF0
tetradic
#F0D86A #6AF095 #6A82F0 #F06AC5
square
#F0D86A #6AF095 #6A82F0 #F06AC5
split-complementary
#F0D86A #6AC5F0 #956AF0
monochromatic
#CBAA14 #EAC932 #F0D86A #F6E7A2 #FBF5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D86A#FFFFFF#000000##000000
##F0D86A1.001.4314.7414.74
#FFFFFF1.431.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35F
Deuteranopia (green-blind)
#F1DC6F
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d86a;
/* rgb */ color: rgb(240, 216, 106);
/* oklch */ color: oklch(88.1% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#f8e398',
    500: '#f0d86a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d86a;
$custom-light: #f8e398;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d86a",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 106
  },
  "hsl": {
    "h": 49.254,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88061,
    "c": 0.13263,
    "h": 97.2
  },
  "luminance": 0.68678
}

Semantic roles & 50–950 ramp

primary
#F0D86A
secondary
#3650C8
accent
#2EDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D86A

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

Preview Lab → · Contrast checker → · Palette generator →

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