#F0DE71#F0DE71

#F0DE71 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.131 H 100.1°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F0DE71
RGBrgb(240, 222, 113)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 53%, 94%)
CMYKcmyk(0%, 7.5%, 52.9%, 5.9%)
CIE-LABlab(87.95, -7.46, 55.01)
CIE-LCHlch(87.95, 55.52, 97.72°)
OKLaboklab(89.36% -0.023 0.1293)
OKLCHoklch(89.36% 0.131 100.1)
XYZxyz(65.0392, 71.9625, 26.0838)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE71 #7183F0
analogous
#F09F71 #F0DE71 #C3F071
triadic
#F0DE71 #71F0DE #DE71F0
tetradic
#F0DE71 #71F09F #7183F0 #F071C3
square
#F0DE71 #71F09F #7183F0 #F071C3
split-complementary
#F0DE71 #71C3F0 #9F71F0
monochromatic
#D1B616 #EAD13A #F0DE71 #F6EBA8 #FCF8E0

Accessibility & contrast

On white

1.36
#F0DE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#F0DE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE71
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE71#FFFFFF#000000##000000
##F0DE711.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0de71;
/* rgb */ color: rgb(240, 222, 113);
/* oklch */ color: oklch(89.4% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#f7e89c',
    500: '#f0de71',
    950: '#000000',
  },
}
SCSS
$custom: #f0de71;
$custom-light: #f7e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de71",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 113
  },
  "hsl": {
    "h": 51.496,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89357,
    "c": 0.13137,
    "h": 100.1
  },
  "luminance": 0.7196
}

Semantic roles & 50–950 ramp

primary
#F0DE71
secondary
#3C50C9
accent
#26DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DE71

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

Preview Lab → · Contrast checker → · Palette generator →

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