#F0DC86#F0DC86

#F0DC86 is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.109 H 96.6°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F0DC86
RGBrgb(240, 220, 134)
HSLhsl(49, 78%, 73%)
HSVhsv(49, 44%, 94%)
CMYKcmyk(0%, 8.3%, 44.2%, 5.9%)
CIE-LABlab(87.70, -4.58, 44.62)
CIE-LCHlch(87.70, 44.85, 95.85°)
OKLaboklab(89.24% -0.0126 0.108)
OKLCHoklch(89.24% 0.109 96.6)
XYZxyz(65.8332, 71.4352, 32.8702)
Luminance0.7143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC86 #869AF0
analogous
#F0A786 #F0DC86 #CFF086
triadic
#F0DC86 #86F0DC #DC86F0
tetradic
#F0DC86 #86F0A7 #869AF0 #F086CF
square
#F0DC86 #86F0A7 #869AF0 #F086CF
split-complementary
#F0DC86 #86CFF0 #A786F0
monochromatic
#E0BB1C #E9CC50 #F0DC86 #F7ECBC #FCF7E4

Accessibility & contrast

On white

1.37
#F0DC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#F0DC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC86
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC86#FFFFFF#000000##000000
##F0DC861.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87F
Deuteranopia (green-blind)
#F1DF89
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dc86;
/* rgb */ color: rgb(240, 220, 134);
/* oklch */ color: oklch(89.2% 0.109 96.6);
Tailwind
colors: {
  custom: {
    50: '#f7e6aa',
    500: '#f0dc86',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc86;
$custom-light: #f7e6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc86",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 134
  },
  "hsl": {
    "h": 48.679,
    "s": 77.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89238,
    "c": 0.10871,
    "h": 96.6
  },
  "luminance": 0.71433
}

Semantic roles & 50–950 ramp

primary
#F0DC86
secondary
#4F66CB
accent
#32DA0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0DC86

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

Preview Lab → · Contrast checker → · Palette generator →

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