#F0E86C#F0E86C

#F0E86C is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.145 H 105.5°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#F0E86C
RGBrgb(240, 232, 108)
HSLhsl(56, 81%, 68%)
HSVhsv(56, 55%, 94%)
CMYKcmyk(0%, 3.3%, 55%, 5.9%)
CIE-LABlab(90.47, -12.83, 60.20)
CIE-LCHlch(90.47, 61.56, 102.03°)
OKLaboklab(91.34% -0.0389 0.14)
OKLCHoklch(91.34% 0.145 105.5)
XYZxyz(67.5006, 77.3233, 25.5537)
Luminance0.7732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E86C #6C74F0
analogous
#F0A66C #F0E86C #B6F06C
triadic
#F0E86C #6CF0E8 #E86CF0
tetradic
#F0E86C #6CF0A6 #6C74F0 #F06CB6
square
#F0E86C #6CF0A6 #6C74F0 #F06CB6
split-complementary
#F0E86C #6CB6F0 #A66CF0
monochromatic
#CDC215 #EADF34 #F0E86C #F6F1A4 #FBF9DB

Accessibility & contrast

On white

1.28
#F0E86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#F0E86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E86C
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E86C#FFFFFF#000000##000000
##F0E86C1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05F
Deuteranopia (green-blind)
#FDE672
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e86c;
/* rgb */ color: rgb(240, 232, 108);
/* oklch */ color: oklch(91.3% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#f7ef9a',
    500: '#f0e86c',
    950: '#000000',
  },
}
SCSS
$custom: #f0e86c;
$custom-light: #f7ef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e86c",
  "rgb": {
    "r": 240,
    "g": 232,
    "b": 108
  },
  "hsl": {
    "h": 56.364,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91341,
    "c": 0.14535,
    "h": 105.5
  },
  "luminance": 0.77321
}

Semantic roles & 50–950 ramp

primary
#F0E86C
secondary
#3840C8
accent
#15DE08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F0E86C

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

Preview Lab → · Contrast checker → · Palette generator →

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