#F0DB8D#F0DB8D

#F0DB8D is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.100 H 94.8°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F0DB8D
RGBrgb(240, 219, 141)
HSLhsl(47, 77%, 75%)
HSVhsv(47, 41%, 94%)
CMYKcmyk(0%, 8.8%, 41.3%, 5.9%)
CIE-LABlab(87.54, -3.36, 40.94)
CIE-LCHlch(87.54, 41.08, 94.69°)
OKLaboklab(89.15% -0.0084 0.1)
OKLCHoklch(89.15% 0.1 94.8)
XYZxyz(66.0760, 71.1137, 35.4398)
Luminance0.7111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB8D #8DA2F0
analogous
#F0AA8D #F0DB8D #D3F08D
triadic
#F0DB8D #8DF0DB #DB8DF0
tetradic
#F0DB8D #8DF0AA #8DA2F0 #F08DD3
square
#F0DB8D #8DF0AA #8DA2F0 #F08DD3
split-complementary
#F0DB8D #8DD3F0 #AA8DF0
monochromatic
#E2B921 #E9CA57 #F0DB8D #F7ECC3 #FBF6E4

Accessibility & contrast

On white

1.38
#F0DB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#F0DB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB8D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB8D#FFFFFF#000000##000000
##F0DB8D1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD887
Deuteranopia (green-blind)
#F0DE90
Tritanopia (blue-blind)
#FED0C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db8d;
/* rgb */ color: rgb(240, 219, 141);
/* oklch */ color: oklch(89.1% 0.100 94.8);
Tailwind
colors: {
  custom: {
    50: '#f6e6af',
    500: '#f0db8d',
    950: '#000000',
  },
}
SCSS
$custom: #f0db8d;
$custom-light: #f6e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db8d",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 141
  },
  "hsl": {
    "h": 47.273,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89147,
    "c": 0.10037,
    "h": 94.8
  },
  "luminance": 0.71111
}

Semantic roles & 50–950 ramp

primary
#F0DB8D
secondary
#556ECC
accent
#38D90D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0DB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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