#F0DF77#F0DF77

#F0DF77 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.127 H 100.2°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F0DF77
RGBrgb(240, 223, 119)
HSLhsl(52, 80%, 70%)
HSVhsv(52, 50%, 94%)
CMYKcmyk(0%, 7.1%, 50.4%, 5.9%)
CIE-LABlab(88.27, -7.46, 52.58)
CIE-LCHlch(88.27, 53.11, 98.08°)
OKLaboklab(89.63% -0.0224 0.1246)
OKLCHoklch(89.63% 0.127 100.2)
XYZxyz(65.6546, 72.6349, 28.0107)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF77 #7788F0
analogous
#F0A277 #F0DF77 #C5F077
triadic
#F0DF77 #77F0DF #DF77F0
tetradic
#F0DF77 #77F0A2 #7788F0 #F077C5
square
#F0DF77 #77F0A2 #7788F0 #F077C5
split-complementary
#F0DF77 #77C5F0 #A277F0
monochromatic
#D5BA18 #EAD240 #F0DF77 #F6ECAE #FCF9E3

Accessibility & contrast

On white

1.35
#F0DF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F0DF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF77
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF77#FFFFFF#000000##000000
##F0DF771.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6E
Deuteranopia (green-blind)
#F5E07C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df77;
/* rgb */ color: rgb(240, 223, 119);
/* oklch */ color: oklch(89.6% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#f7e8a0',
    500: '#f0df77',
    950: '#000000',
  },
}
SCSS
$custom: #f0df77;
$custom-light: #f7e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df77",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 119
  },
  "hsl": {
    "h": 51.57,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89634,
    "c": 0.12658,
    "h": 100.2
  },
  "luminance": 0.72633
}

Semantic roles & 50–950 ramp

primary
#F0DF77
secondary
#4255CA
accent
#27DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DF77

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

Preview Lab → · Contrast checker → · Palette generator →

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