#F0DB91#F0DB91

#F0DB91 is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.2% C 0.096 H 94.1°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F0DB91
RGBrgb(240, 219, 145)
HSLhsl(47, 76%, 75%)
HSVhsv(47, 40%, 94%)
CMYKcmyk(0%, 8.8%, 39.6%, 5.9%)
CIE-LABlab(87.60, -2.94, 39.01)
CIE-LCHlch(87.60, 39.12, 94.31°)
OKLaboklab(89.21% -0.0069 0.0958)
OKLCHoklch(89.21% 0.096 94.1)
XYZxyz(66.3790, 71.2349, 37.0357)
Luminance0.7123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB91 #91A6F0
analogous
#F0AB91 #F0DB91 #D5F091
triadic
#F0DB91 #91F0DB #DB91F0
tetradic
#F0DB91 #91F0AB #91A6F0 #F091D5
square
#F0DB91 #91F0AB #91A6F0 #F091D5
split-complementary
#F0DB91 #91D5F0 #AB91F0
monochromatic
#E1B825 #E9C95B #F0DB91 #F7EDC7 #FBF6E4

Accessibility & contrast

On white

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

On black

15.25
#F0DB91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB91
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB91#FFFFFF#000000##000000
##F0DB911.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD88C
Deuteranopia (green-blind)
#EFDE94
Tritanopia (blue-blind)
#FED0C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0db91;
/* rgb */ color: rgb(240, 219, 145);
/* oklch */ color: oklch(89.2% 0.096 94.1);
Tailwind
colors: {
  custom: {
    50: '#f6e6b2',
    500: '#f0db91',
    950: '#000000',
  },
}
SCSS
$custom: #f0db91;
$custom-light: #f6e6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db91",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 145
  },
  "hsl": {
    "h": 46.737,
    "s": 76,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89212,
    "c": 0.09601,
    "h": 94.1
  },
  "luminance": 0.71233
}

Semantic roles & 50–950 ramp

primary
#F0DB91
secondary
#5972CC
accent
#3AD80D
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F0DB91

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

Preview Lab → · Contrast checker → · Palette generator →

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