#F0DD71#F0DD71

#F0DD71 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.130 H 99.5°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F0DD71
RGBrgb(240, 221, 113)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 53%, 94%)
CMYKcmyk(0%, 7.9%, 52.9%, 5.9%)
CIE-LABlab(87.69, -6.96, 54.71)
CIE-LCHlch(87.69, 55.15, 97.24°)
OKLaboklab(89.15% -0.0215 0.1287)
OKLCHoklch(89.15% 0.13 99.5)
XYZxyz(64.7744, 71.4329, 25.9955)
Luminance0.7143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD71 #7184F0
analogous
#F09E71 #F0DD71 #C3F071
triadic
#F0DD71 #71F0DD #DD71F0
tetradic
#F0DD71 #71F09E #7184F0 #F071C3
square
#F0DD71 #71F09E #7184F0 #F071C3
split-complementary
#F0DD71 #71C3F0 #9E71F0
monochromatic
#D1B516 #EAD03A #F0DD71 #F6EAA8 #FCF8E0

Accessibility & contrast

On white

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

On black

15.29
#F0DD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD71
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD71#FFFFFF#000000##000000
##F0DD711.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd71;
/* rgb */ color: rgb(240, 221, 113);
/* oklch */ color: oklch(89.2% 0.130 99.5);
Tailwind
colors: {
  custom: {
    50: '#f7e79c',
    500: '#f0dd71',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd71;
$custom-light: #f7e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd71",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 51.024,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89154,
    "c": 0.13048,
    "h": 99.5
  },
  "luminance": 0.7143
}

Semantic roles & 50–950 ramp

primary
#F0DD71
secondary
#3C51C9
accent
#28DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD71

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

Preview Lab → · Contrast checker → · Palette generator →

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