#F0DD79#F0DD79

#F0DD79 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.123 H 98.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F0DD79
RGBrgb(240, 221, 121)
HSLhsl(50, 80%, 71%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 7.9%, 49.6%, 5.9%)
CIE-LABlab(87.79, -6.28, 51.05)
CIE-LCHlch(87.79, 51.43, 97.02°)
OKLaboklab(89.26% -0.0188 0.1214)
OKLCHoklch(89.26% 0.123 98.8)
XYZxyz(65.2448, 71.6211, 28.4729)
Luminance0.7162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD79 #798CF0
analogous
#F0A179 #F0DD79 #C7F079
triadic
#F0DD79 #79F0DD #DD79F0
tetradic
#F0DD79 #79F0A1 #798CF0 #F079C7
square
#F0DD79 #79F0A1 #798CF0 #F079C7
split-complementary
#F0DD79 #79C7F0 #A179F0
monochromatic
#D7B818 #EACF42 #F0DD79 #F6EBB0 #FCF8E3

Accessibility & contrast

On white

1.37
#F0DD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#F0DD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD79
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD79#FFFFFF#000000##000000
##F0DD791.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd79;
/* rgb */ color: rgb(240, 221, 121);
/* oklch */ color: oklch(89.3% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#f7e7a2',
    500: '#f0dd79',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd79;
$custom-light: #f7e7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd79",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 121
  },
  "hsl": {
    "h": 50.42,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89256,
    "c": 0.12282,
    "h": 98.8
  },
  "luminance": 0.71619
}

Semantic roles & 50–950 ramp

primary
#F0DD79
secondary
#4359CA
accent
#2BDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DD79

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

Preview Lab → · Contrast checker → · Palette generator →

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