#F0DB71#F0DB71

#F0DB71 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.129 H 98.3°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F0DB71
RGBrgb(240, 219, 113)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 8.8%, 52.9%, 5.9%)
CIE-LABlab(87.18, -5.95, 54.11)
CIE-LCHlch(87.18, 54.44, 96.27°)
OKLaboklab(88.75% -0.0186 0.1274)
OKLCHoklch(88.75% 0.129 98.3)
XYZxyz(64.2495, 70.3831, 25.8205)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB71 #7186F0
analogous
#F09C71 #F0DB71 #C6F071
triadic
#F0DB71 #71F0DB #DB71F0
tetradic
#F0DB71 #71F09C #7186F0 #F071C6
square
#F0DB71 #71F09C #7186F0 #F071C6
split-complementary
#F0DB71 #71C6F0 #9C71F0
monochromatic
#D1B216 #EACD3A #F0DB71 #F6E9A8 #FCF7E0

Accessibility & contrast

On white

1.39
#F0DB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#F0DB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB71
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB71#FFFFFF#000000##000000
##F0DB711.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD667
Deuteranopia (green-blind)
#F2DE76
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db71;
/* rgb */ color: rgb(240, 219, 113);
/* oklch */ color: oklch(88.8% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#f7e59c',
    500: '#f0db71',
    950: '#000000',
  },
}
SCSS
$custom: #f0db71;
$custom-light: #f7e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db71",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 113
  },
  "hsl": {
    "h": 50.079,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8875,
    "c": 0.12874,
    "h": 98.3
  },
  "luminance": 0.70381
}

Semantic roles & 50–950 ramp

primary
#F0DB71
secondary
#3C53C9
accent
#2BDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB71

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

Preview Lab → · Contrast checker → · Palette generator →

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