#F0DE70#F0DE70

#F0DE70 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.132 H 100.2°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F0DE70
RGBrgb(240, 222, 112)
HSLhsl(52, 81%, 69%)
HSVhsv(52, 53%, 94%)
CMYKcmyk(0%, 7.5%, 53.3%, 5.9%)
CIE-LABlab(87.94, -7.54, 55.46)
CIE-LCHlch(87.94, 55.97, 97.74°)
OKLaboklab(89.35% -0.0233 0.1302)
OKLCHoklch(89.35% 0.132 100.2)
XYZxyz(64.9832, 71.9401, 25.7889)
Luminance0.7194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE70 #7082F0
analogous
#F09E70 #F0DE70 #C2F070
triadic
#F0DE70 #70F0DE #DE70F0
tetradic
#F0DE70 #70F09E #7082F0 #F070C2
square
#F0DE70 #70F09E #7082F0 #F070C2
split-complementary
#F0DE70 #70C2F0 #9E70F0
monochromatic
#D0B616 #EAD139 #F0DE70 #F6EBA7 #FCF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DE70#FFFFFF#000000##000000
##F0DE701.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)
#F0D866
Deuteranopia (green-blind)
#F5E075
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0de70;
/* rgb */ color: rgb(240, 222, 112);
/* oklch */ color: oklch(89.3% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#f7e89c',
    500: '#f0de70',
    950: '#000000',
  },
}
SCSS
$custom: #f0de70;
$custom-light: #f7e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de70",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 112
  },
  "hsl": {
    "h": 51.563,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89345,
    "c": 0.1323,
    "h": 100.2
  },
  "luminance": 0.71938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0DE70

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

Preview Lab → · Contrast checker → · Palette generator →

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