#F0DB79#F0DB79

#F0DB79 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.9% C 0.121 H 97.5°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#F0DB79
RGBrgb(240, 219, 121)
HSLhsl(49, 80%, 71%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 8.8%, 49.6%, 5.9%)
CIE-LABlab(87.28, -5.27, 50.43)
CIE-LCHlch(87.28, 50.71, 95.97°)
OKLaboklab(88.85% -0.0159 0.12)
OKLCHoklch(88.85% 0.121 97.5)
XYZxyz(64.7199, 70.5713, 28.2979)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB79 #798EF0
analogous
#F09F79 #F0DB79 #C9F079
triadic
#F0DB79 #79F0DB #DB79F0
tetradic
#F0DB79 #79F09F #798EF0 #F079C9
square
#F0DB79 #79F09F #798EF0 #F079C9
split-complementary
#F0DB79 #79C9F0 #9F79F0
monochromatic
#D7B518 #EACC42 #F0DB79 #F6EAB0 #FCF8E3

Accessibility & contrast

On white

1.39
#F0DB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#F0DB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB79
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB79#FFFFFF#000000##000000
##F0DB791.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD671
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db79;
/* rgb */ color: rgb(240, 219, 121);
/* oklch */ color: oklch(88.9% 0.121 97.5);
Tailwind
colors: {
  custom: {
    50: '#f7e5a2',
    500: '#f0db79',
    950: '#000000',
  },
}
SCSS
$custom: #f0db79;
$custom-light: #f7e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db79",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 121
  },
  "hsl": {
    "h": 49.412,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88852,
    "c": 0.12106,
    "h": 97.5
  },
  "luminance": 0.70569
}

Semantic roles & 50–950 ramp

primary
#F0DB79
secondary
#435BCA
accent
#2FDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DB79

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

Preview Lab → · Contrast checker → · Palette generator →

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