#F0D686#F0D686

#F0D686 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.104 H 92.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F0D686
RGBrgb(240, 214, 134)
HSLhsl(45, 78%, 73%)
HSVhsv(45, 44%, 94%)
CMYKcmyk(0%, 10.8%, 44.2%, 5.9%)
CIE-LABlab(86.18, -1.52, 42.71)
CIE-LCHlch(86.18, 42.73, 92.04°)
OKLaboklab(88.04% -0.0037 0.1037)
OKLCHoklch(88.04% 0.104 92)
XYZxyz(64.2866, 68.3422, 32.3547)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D686 #86A0F0
analogous
#F0A186 #F0D686 #D5F086
triadic
#F0D686 #86F0D6 #D686F0
tetradic
#F0D686 #86F0A1 #86A0F0 #F086D5
square
#F0D686 #86F0A1 #86A0F0 #F086D5
split-complementary
#F0D686 #86D5F0 #A186F0
monochromatic
#E0B01C #E9C450 #F0D686 #F7E8BC #FCF6E4

Accessibility & contrast

On white

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

On black

14.67
#F0D686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D686
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D686#FFFFFF#000000##000000
##F0D6861.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#EDDB89
Tritanopia (blue-blind)
#FFCAC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d686;
/* rgb */ color: rgb(240, 214, 134);
/* oklch */ color: oklch(88.0% 0.104 92.0);
Tailwind
colors: {
  custom: {
    50: '#f7e2aa',
    500: '#f0d686',
    950: '#000000',
  },
}
SCSS
$custom: #f0d686;
$custom-light: #f7e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d686",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 134
  },
  "hsl": {
    "h": 45.283,
    "s": 77.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88038,
    "c": 0.10373,
    "h": 92
  },
  "luminance": 0.6834
}

Semantic roles & 50–950 ramp

primary
#F0D686
secondary
#4F6DCB
accent
#3EDA0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0D686

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

Preview Lab → · Contrast checker → · Palette generator →

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