#F0DE60#F0DE60

#F0DE60 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.146 H 101.2°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F0DE60
RGBrgb(240, 222, 96)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 7.5%, 60%, 5.9%)
CIE-LABlab(87.78, -8.71, 62.46)
CIE-LCHlch(87.78, 63.06, 97.94°)
OKLaboklab(89.17% -0.0285 0.1434)
OKLCHoklch(89.17% 0.146 101.2)
XYZxyz(64.1702, 71.6149, 21.5070)
Luminance0.7161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE60 #6072F0
analogous
#F09660 #F0DE60 #BAF060
triadic
#F0DE60 #60F0DE #DE60F0
tetradic
#F0DE60 #60F096 #6072F0 #F060BA
square
#F0DE60 #60F096 #6072F0 #F060BA
split-complementary
#F0DE60 #60BAF0 #9660F0
monochromatic
#C3AD12 #EBD228 #F0DE60 #F5EA98 #FBF5D0

Accessibility & contrast

On white

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

On black

15.32
#F0DE60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE60
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE60#FFFFFF#000000##000000
##F0DE601.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D852
Deuteranopia (green-blind)
#F6DF67
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0de60;
/* rgb */ color: rgb(240, 222, 96);
/* oklch */ color: oklch(89.2% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#f8e892',
    500: '#f0de60',
    950: '#000000',
  },
}
SCSS
$custom: #f0de60;
$custom-light: #f8e892;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de60",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 96
  },
  "hsl": {
    "h": 52.5,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8917,
    "c": 0.14623,
    "h": 101.2
  },
  "luminance": 0.71612
}

Semantic roles & 50–950 ramp

primary
#F0DE60
secondary
#3345C1
accent
#21DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DE60

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

Preview Lab → · Contrast checker → · Palette generator →

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