#F0DC89#F0DC89

#F0DC89 is a very light, moderate yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.106 H 96.2°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#F0DC89
RGBrgb(240, 220, 137)
HSLhsl(48, 77%, 74%)
HSVhsv(48, 43%, 94%)
CMYKcmyk(0%, 8.3%, 42.9%, 5.9%)
CIE-LABlab(87.74, -4.28, 43.19)
CIE-LCHlch(87.74, 43.40, 95.66°)
OKLaboklab(89.28% -0.0114 0.1049)
OKLCHoklch(89.28% 0.106 96.2)
XYZxyz(66.0454, 71.5201, 33.9878)
Luminance0.7152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC89 #899DF0
analogous
#F0A989 #F0DC89 #D1F089
triadic
#F0DC89 #89F0DC #DC89F0
tetradic
#F0DC89 #89F0A9 #899DF0 #F089D1
square
#F0DC89 #89F0A9 #899DF0 #F089D1
split-complementary
#F0DC89 #89D1F0 #A989F0
monochromatic
#E2BC1D #E9CC53 #F0DC89 #F7ECBF #FCF7E4

Accessibility & contrast

On white

1.37
#F0DC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#F0DC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC89
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC89#FFFFFF#000000##000000
##F0DC891.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD883
Deuteranopia (green-blind)
#F1DF8C
Tritanopia (blue-blind)
#FED1C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dc89;
/* rgb */ color: rgb(240, 220, 137);
/* oklch */ color: oklch(89.3% 0.106 96.2);
Tailwind
colors: {
  custom: {
    50: '#f6e6ac',
    500: '#f0dc89',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc89;
$custom-light: #f6e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc89",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 137
  },
  "hsl": {
    "h": 48.35,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89284,
    "c": 0.10553,
    "h": 96.2
  },
  "luminance": 0.71518
}

Semantic roles & 50–950 ramp

primary
#F0DC89
secondary
#5269CC
accent
#34DA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0DC89

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

Preview Lab → · Contrast checker → · Palette generator →

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