#F0DE76#F0DE76

#F0DE76 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.127 H 99.7°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F0DE76
RGBrgb(240, 222, 118)
HSLhsl(51, 80%, 70%)
HSVhsv(51, 51%, 94%)
CMYKcmyk(0%, 7.5%, 50.8%, 5.9%)
CIE-LABlab(88.01, -7.05, 52.74)
CIE-LCHlch(88.01, 53.20, 97.61°)
OKLaboklab(89.42% -0.0213 0.1248)
OKLCHoklch(89.42% 0.127 99.7)
XYZxyz(65.3285, 72.0782, 27.6073)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE76 #7688F0
analogous
#F0A176 #F0DE76 #C5F076
triadic
#F0DE76 #76F0DE #DE76F0
tetradic
#F0DE76 #76F0A1 #7688F0 #F076C5
square
#F0DE76 #76F0A1 #7688F0 #F076C5
split-complementary
#F0DE76 #76C5F0 #A176F0
monochromatic
#D4B817 #EAD13F #F0DE76 #F6EBAD #FCF8E3

Accessibility & contrast

On white

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

On black

15.42
#F0DE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE76
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE76#FFFFFF#000000##000000
##F0DE761.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96D
Deuteranopia (green-blind)
#F4E07B
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0de76;
/* rgb */ color: rgb(240, 222, 118);
/* oklch */ color: oklch(89.4% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#f7e8a0',
    500: '#f0de76',
    950: '#000000',
  },
}
SCSS
$custom: #f0de76;
$custom-light: #f7e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de76",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 118
  },
  "hsl": {
    "h": 51.148,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89419,
    "c": 0.12663,
    "h": 99.7
  },
  "luminance": 0.72076
}

Semantic roles & 50–950 ramp

primary
#F0DE76
secondary
#4155CA
accent
#28DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DE76

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

Preview Lab → · Contrast checker → · Palette generator →

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