#F0DC79#F0DC79

#F0DC79 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.122 H 98.2°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F0DC79
RGBrgb(240, 220, 121)
HSLhsl(50, 80%, 71%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 8.3%, 49.6%, 5.9%)
CIE-LABlab(87.53, -5.78, 50.74)
CIE-LCHlch(87.53, 51.07, 96.50°)
OKLaboklab(89.05% -0.0173 0.1207)
OKLCHoklch(89.05% 0.122 98.2)
XYZxyz(64.9816, 71.0946, 28.3852)
Luminance0.7109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC79 #798DF0
analogous
#F0A079 #F0DC79 #C8F079
triadic
#F0DC79 #79F0DC #DC79F0
tetradic
#F0DC79 #79F0A0 #798DF0 #F079C8
square
#F0DC79 #79F0A0 #798DF0 #F079C8
split-complementary
#F0DC79 #79C8F0 #A079F0
monochromatic
#D7B718 #EACE42 #F0DC79 #F6EAB0 #FCF8E3

Accessibility & contrast

On white

1.38
#F0DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#F0DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC79
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC79#FFFFFF#000000##000000
##F0DC791.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD770
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc79;
/* rgb */ color: rgb(240, 220, 121);
/* oklch */ color: oklch(89.1% 0.122 98.2);
Tailwind
colors: {
  custom: {
    50: '#f7e6a2',
    500: '#f0dc79',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc79;
$custom-light: #f7e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc79",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 49.916,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89054,
    "c": 0.12194,
    "h": 98.2
  },
  "luminance": 0.71092
}

Semantic roles & 50–950 ramp

primary
#F0DC79
secondary
#435ACA
accent
#2DDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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