#F0D86D#F0D86D

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

Color values

HEX#F0D86D
RGBrgb(240, 216, 109)
HSLhsl(49, 81%, 68%)
HSVhsv(49, 55%, 94%)
CMYKcmyk(0%, 10%, 54.6%, 5.9%)
CIE-LABlab(86.38, -4.75, 55.03)
CIE-LCHlch(86.38, 55.23, 94.93°)
OKLaboklab(88.1% -0.0156 0.129)
OKLCHoklch(88.1% 0.13 96.9)
XYZxyz(63.2537, 68.7438, 24.4021)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D86D #6D85F0
analogous
#F0966D #F0D86D #C6F06D
triadic
#F0D86D #6DF0D8 #D86DF0
tetradic
#F0D86D #6DF096 #6D85F0 #F06DC6
square
#F0D86D #6DF096 #6D85F0 #F06DC6
split-complementary
#F0D86D #6DC6F0 #966DF0
monochromatic
#CDAC15 #EAC936 #F0D86D #F6E7A4 #FBF6DC

Accessibility & contrast

On white

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

On black

14.75
#F0D86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D86D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D86D#FFFFFF#000000##000000
##F0D86D1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d86d;
/* rgb */ color: rgb(240, 216, 109);
/* oklch */ color: oklch(88.1% 0.130 96.9);
Tailwind
colors: {
  custom: {
    50: '#f7e39a',
    500: '#f0d86d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d86d;
$custom-light: #f7e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d86d",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 49.008,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88097,
    "c": 0.12992,
    "h": 96.9
  },
  "luminance": 0.68741
}

Semantic roles & 50–950 ramp

primary
#F0D86D
secondary
#3953C9
accent
#2FDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D86D

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

Preview Lab → · Contrast checker → · Palette generator →

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