#F0DC71#F0DC71

#F0DC71 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.130 H 98.9°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F0DC71
RGBrgb(240, 220, 113)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 53%, 94%)
CMYKcmyk(0%, 8.3%, 52.9%, 5.9%)
CIE-LABlab(87.44, -6.45, 54.41)
CIE-LCHlch(87.44, 54.79, 96.76°)
OKLaboklab(88.95% -0.0201 0.128)
OKLCHoklch(88.95% 0.13 98.9)
XYZxyz(64.5112, 70.9064, 25.9078)
Luminance0.7090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC71 #7185F0
analogous
#F09D71 #F0DC71 #C5F071
triadic
#F0DC71 #71F0DC #DC71F0
tetradic
#F0DC71 #71F09D #7185F0 #F071C5
square
#F0DC71 #71F09D #7185F0 #F071C5
split-complementary
#F0DC71 #71C5F0 #9D71F0
monochromatic
#D1B316 #EACE3A #F0DC71 #F6EAA8 #FCF7E0

Accessibility & contrast

On white

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

On black

15.18
#F0DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC71
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC71#FFFFFF#000000##000000
##F0DC711.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#F3DE76
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc71;
/* rgb */ color: rgb(240, 220, 113);
/* oklch */ color: oklch(89.0% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#f7e69c',
    500: '#f0dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc71;
$custom-light: #f7e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc71",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 50.551,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.1296,
    "h": 98.9
  },
  "luminance": 0.70904
}

Semantic roles & 50–950 ramp

primary
#F0DC71
secondary
#3C52C9
accent
#2ADD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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