#F0D990#F0D990

#F0D990 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.095 H 92.6°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F0D990
RGBrgb(240, 217, 144)
HSLhsl(46, 76%, 75%)
HSVhsv(46, 40%, 94%)
CMYKcmyk(0%, 9.6%, 40%, 5.9%)
CIE-LABlab(87.08, -2.03, 38.84)
CIE-LCHlch(87.08, 38.89, 92.99°)
OKLaboklab(88.8% -0.0043 0.0953)
OKLCHoklch(88.8% 0.095 92.6)
XYZxyz(65.7836, 70.1669, 36.4585)
Luminance0.7016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D990 #90A7F0
analogous
#F0A990 #F0D990 #D7F090
triadic
#F0D990 #90F0D9 #D990F0
tetradic
#F0D990 #90F0A9 #90A7F0 #F090D7
square
#F0D990 #90F0A9 #90A7F0 #F090D7
split-complementary
#F0D990 #90D7F0 #A990F0
monochromatic
#E1B424 #E9C75A #F0D990 #F7EBC6 #FBF6E4

Accessibility & contrast

On white

1.40
#F0D990 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#F0D990 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D990
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D990#FFFFFF#000000##000000
##F0D9901.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D68B
Deuteranopia (green-blind)
#EEDD93
Tritanopia (blue-blind)
#FECEC7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0d990;
/* rgb */ color: rgb(240, 217, 144);
/* oklch */ color: oklch(88.8% 0.095 92.6);
Tailwind
colors: {
  custom: {
    50: '#f6e4b1',
    500: '#f0d990',
    950: '#000000',
  },
}
SCSS
$custom: #f0d990;
$custom-light: #f6e4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d990",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 144
  },
  "hsl": {
    "h": 45.625,
    "s": 76.19,
    "l": 75.294
  },
  "oklch": {
    "l": 0.88797,
    "c": 0.09543,
    "h": 92.6
  },
  "luminance": 0.70165
}

Semantic roles & 50–950 ramp

primary
#F0D990
secondary
#5874CC
accent
#3ED80D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171511
muted
#858481

Preview Lab

Preview with #F0D990

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

Preview Lab → · Contrast checker → · Palette generator →

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