#F0DB95#F0DB95

#F0DB95 is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.3% C 0.092 H 93.4°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#F0DB95
RGBrgb(240, 219, 149)
HSLhsl(46, 75%, 76%)
HSVhsv(46, 38%, 94%)
CMYKcmyk(0%, 8.8%, 37.9%, 5.9%)
CIE-LABlab(87.66, -2.50, 37.07)
CIE-LCHlch(87.66, 37.15, 93.86°)
OKLaboklab(89.28% -0.0054 0.0914)
OKLCHoklch(89.28% 0.092 93.4)
XYZxyz(66.6929, 71.3604, 38.6888)
Luminance0.7136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB95 #95AAF0
analogous
#F0AE95 #F0DB95 #D8F095
triadic
#F0DB95 #95F0DB #DB95F0
tetradic
#F0DB95 #95F0AE #95AAF0 #F095D8
square
#F0DB95 #95F0AE #95AAF0 #F095D8
split-complementary
#F0DB95 #95D8F0 #AE95F0
monochromatic
#E1B72A #E8C95F #F0DB95 #F8EDCB #FBF6E4

Accessibility & contrast

On white

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

On black

15.27
#F0DB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB95
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB95#FFFFFF#000000##000000
##F0DB951.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D890
Deuteranopia (green-blind)
#EFDF97
Tritanopia (blue-blind)
#FDD1C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0db95;
/* rgb */ color: rgb(240, 219, 149);
/* oklch */ color: oklch(89.3% 0.092 93.4);
Tailwind
colors: {
  custom: {
    50: '#f6e6b5',
    500: '#f0db95',
    950: '#000000',
  },
}
SCSS
$custom: #f0db95;
$custom-light: #f6e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db95",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 149
  },
  "hsl": {
    "h": 46.154,
    "s": 75.207,
    "l": 76.275
  },
  "oklch": {
    "l": 0.8928,
    "c": 0.09159,
    "h": 93.4
  },
  "luminance": 0.71358
}

Semantic roles & 50–950 ramp

primary
#F0DB95
secondary
#5D76CD
accent
#3DD70E
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F0DB95

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

Preview Lab → · Contrast checker → · Palette generator →

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