#F0DA79#F0DA79

#F0DA79 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.120 H 96.9°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F0DA79
RGBrgb(240, 218, 121)
HSLhsl(49, 80%, 71%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 9.2%, 49.6%, 5.9%)
CIE-LABlab(87.02, -4.77, 50.12)
CIE-LCHlch(87.02, 50.35, 95.43°)
OKLaboklab(88.65% -0.0144 0.1193)
OKLCHoklch(88.65% 0.12 96.9)
XYZxyz(64.4598, 70.0511, 28.2112)
Luminance0.7005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA79 #798FF0
analogous
#F09E79 #F0DA79 #CAF079
triadic
#F0DA79 #79F0DA #DA79F0
tetradic
#F0DA79 #79F09E #798FF0 #F079CA
square
#F0DA79 #79F09E #798FF0 #F079CA
split-complementary
#F0DA79 #79CAF0 #9E79F0
monochromatic
#D7B318 #EACB42 #F0DA79 #F6E9B0 #FCF7E3

Accessibility & contrast

On white

1.40
#F0DA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#F0DA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA79
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA79#FFFFFF#000000##000000
##F0DA791.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD671
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0da79;
/* rgb */ color: rgb(240, 218, 121);
/* oklch */ color: oklch(88.7% 0.120 96.9);
Tailwind
colors: {
  custom: {
    50: '#f7e5a2',
    500: '#f0da79',
    950: '#000000',
  },
}
SCSS
$custom: #f0da79;
$custom-light: #f7e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da79",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 48.908,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88651,
    "c": 0.1202,
    "h": 96.9
  },
  "luminance": 0.70049
}

Semantic roles & 50–950 ramp

primary
#F0DA79
secondary
#435CCA
accent
#30DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DA79

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

Preview Lab → · Contrast checker → · Palette generator →

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