#F0E486#F0E486

#F0E486 is a very light, moderate yellow. Relative luminance 0.757; OKLCH L 90.9% C 0.116 H 102.0°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F0E486
RGBrgb(240, 228, 134)
HSLhsl(53, 78%, 73%)
HSVhsv(53, 44%, 94%)
CMYKcmyk(0%, 5%, 44.2%, 5.9%)
CIE-LABlab(89.74, -8.61, 47.17)
CIE-LCHlch(89.74, 47.95, 100.34°)
OKLaboklab(90.85% -0.0242 0.1137)
OKLCHoklch(90.85% 0.116 102)
XYZxyz(67.9832, 75.7353, 33.5869)
Luminance0.7573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E486 #8692F0
analogous
#F0AF86 #F0E486 #C7F086
triadic
#F0E486 #86F0E4 #E486F0
tetradic
#F0E486 #86F0AF #8692F0 #F086C7
square
#F0E486 #86F0AF #8692F0 #F086C7
split-complementary
#F0E486 #86C7F0 #AF86F0
monochromatic
#E0CA1C #E9D850 #F0E486 #F7F0BC #FCF9E4

Accessibility & contrast

On white

1.30
#F0E486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#F0E486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E486
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E486#FFFFFF#000000##000000
##F0E4861.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE7E
Deuteranopia (green-blind)
#F7E48A
Tritanopia (blue-blind)
#FED8CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e486;
/* rgb */ color: rgb(240, 228, 134);
/* oklch */ color: oklch(90.9% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#f7ecab',
    500: '#f0e486',
    950: '#000000',
  },
}
SCSS
$custom: #f0e486;
$custom-light: #f7ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e486",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 134
  },
  "hsl": {
    "h": 53.208,
    "s": 77.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90854,
    "c": 0.11625,
    "h": 102
  },
  "luminance": 0.75733
}

Semantic roles & 50–950 ramp

primary
#F0E486
secondary
#4F5DCB
accent
#23DA0B
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F0E486

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

Preview Lab → · Contrast checker → · Palette generator →

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