#F0DE77#F0DE77

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

Color values

HEX#F0DE77
RGBrgb(240, 222, 119)
HSLhsl(51, 80%, 70%)
HSVhsv(51, 50%, 94%)
CMYKcmyk(0%, 7.5%, 50.4%, 5.9%)
CIE-LABlab(88.02, -6.96, 52.28)
CIE-LCHlch(88.02, 52.74, 97.58°)
OKLaboklab(89.43% -0.0209 0.1239)
OKLCHoklch(89.43% 0.126 99.6)
XYZxyz(65.3882, 72.1021, 27.9219)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE77 #7789F0
analogous
#F0A177 #F0DE77 #C6F077
triadic
#F0DE77 #77F0DE #DE77F0
tetradic
#F0DE77 #77F0A1 #7789F0 #F077C6
square
#F0DE77 #77F0A1 #7789F0 #F077C6
split-complementary
#F0DE77 #77C6F0 #A177F0
monochromatic
#D5B918 #EAD140 #F0DE77 #F6EBAE #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DE77#FFFFFF#000000##000000
##F0DE771.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)
#EFD96E
Deuteranopia (green-blind)
#F4E07B
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0de77;
/* rgb */ color: rgb(240, 222, 119);
/* oklch */ color: oklch(89.4% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#f7e8a0',
    500: '#f0de77',
    950: '#000000',
  },
}
SCSS
$custom: #f0de77;
$custom-light: #f7e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de77",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 119
  },
  "hsl": {
    "h": 51.074,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89432,
    "c": 0.12567,
    "h": 99.6
  },
  "luminance": 0.721
}

Semantic roles & 50–950 ramp

primary
#F0DE77
secondary
#4256CA
accent
#28DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DE77

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

Preview Lab → · Contrast checker → · Palette generator →

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