#F0DB89#F0DB89

#F0DB89 is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 89.1% C 0.105 H 95.5°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#F0DB89
RGBrgb(240, 219, 137)
HSLhsl(48, 77%, 74%)
HSVhsv(48, 43%, 94%)
CMYKcmyk(0%, 8.8%, 42.9%, 5.9%)
CIE-LABlab(87.48, -3.77, 42.87)
CIE-LCHlch(87.48, 43.03, 95.03°)
OKLaboklab(89.08% -0.01 0.1042)
OKLCHoklch(89.08% 0.105 95.5)
XYZxyz(65.7837, 70.9968, 33.9006)
Luminance0.7099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB89 #899EF0
analogous
#F0A889 #F0DB89 #D2F089
triadic
#F0DB89 #89F0DB #DB89F0
tetradic
#F0DB89 #89F0A8 #899EF0 #F089D2
square
#F0DB89 #89F0A8 #899EF0 #F089D2
split-complementary
#F0DB89 #89D2F0 #A889F0
monochromatic
#E2BA1D #E9CA53 #F0DB89 #F7ECBF #FCF7E4

Accessibility & contrast

On white

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

On black

15.20
#F0DB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB89
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB89#FFFFFF#000000##000000
##F0DB891.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD783
Deuteranopia (green-blind)
#F0DE8C
Tritanopia (blue-blind)
#FED0C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db89;
/* rgb */ color: rgb(240, 219, 137);
/* oklch */ color: oklch(89.1% 0.105 95.5);
Tailwind
colors: {
  custom: {
    50: '#f6e6ac',
    500: '#f0db89',
    950: '#000000',
  },
}
SCSS
$custom: #f0db89;
$custom-light: #f6e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db89",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 137
  },
  "hsl": {
    "h": 47.767,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89083,
    "c": 0.10466,
    "h": 95.5
  },
  "luminance": 0.70994
}

Semantic roles & 50–950 ramp

primary
#F0DB89
secondary
#526BCC
accent
#36DA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0DB89

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

Preview Lab → · Contrast checker → · Palette generator →

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