#F0DA78#F0DA78

#F0DA78 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.121 H 97.0°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F0DA78
RGBrgb(240, 218, 120)
HSLhsl(49, 80%, 71%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 9.2%, 50%, 5.9%)
CIE-LABlab(87.01, -4.85, 50.59)
CIE-LCHlch(87.01, 50.82, 95.48°)
OKLaboklab(88.64% -0.0147 0.1203)
OKLCHoklch(88.64% 0.121 97)
XYZxyz(64.3988, 70.0267, 27.8900)
Luminance0.7002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA78 #788EF0
analogous
#F09E78 #F0DA78 #CAF078
triadic
#F0DA78 #78F0DA #DA78F0
tetradic
#F0DA78 #78F09E #788EF0 #F078CA
square
#F0DA78 #78F09E #788EF0 #F078CA
split-complementary
#F0DA78 #78CAF0 #9E78F0
monochromatic
#D6B318 #EACB41 #F0DA78 #F6E9AF #FCF7E3

Accessibility & contrast

On white

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

On black

15.00
#F0DA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA78
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA78#FFFFFF#000000##000000
##F0DA781.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0da78;
/* rgb */ color: rgb(240, 218, 120);
/* oklch */ color: oklch(88.6% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#f7e5a1',
    500: '#f0da78',
    950: '#000000',
  },
}
SCSS
$custom: #f0da78;
$custom-light: #f7e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da78",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 49,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88638,
    "c": 0.12119,
    "h": 97
  },
  "luminance": 0.70024
}

Semantic roles & 50–950 ramp

primary
#F0DA78
secondary
#425BCA
accent
#30DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DA78

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

Preview Lab → · Contrast checker → · Palette generator →

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