#F0D778#F0D778

#F0D778 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.119 H 95.0°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F0D778
RGBrgb(240, 215, 120)
HSLhsl(48, 80%, 71%)
HSVhsv(48, 50%, 94%)
CMYKcmyk(0%, 10.4%, 50%, 5.9%)
CIE-LABlab(86.25, -3.33, 49.67)
CIE-LCHlch(86.25, 49.78, 93.84°)
OKLaboklab(88.04% -0.0103 0.1183)
OKLCHoklch(88.04% 0.119 95)
XYZxyz(63.6279, 68.4848, 27.6330)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D778 #7891F0
analogous
#F09B78 #F0D778 #CDF078
triadic
#F0D778 #78F0D7 #D778F0
tetradic
#F0D778 #78F09B #7891F0 #F078CD
square
#F0D778 #78F09B #7891F0 #F078CD
split-complementary
#F0D778 #78CDF0 #9B78F0
monochromatic
#D6AE18 #EAC741 #F0D778 #F6E7AF #FCF7E3

Accessibility & contrast

On white

1.43
#F0D778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F0D778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D778
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D778#FFFFFF#000000##000000
##F0D7781.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#EFDB7C
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d778;
/* rgb */ color: rgb(240, 215, 120);
/* oklch */ color: oklch(88.0% 0.119 95.0);
Tailwind
colors: {
  custom: {
    50: '#f7e3a1',
    500: '#f0d778',
    950: '#000000',
  },
}
SCSS
$custom: #f0d778;
$custom-light: #f7e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d778",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 47.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88035,
    "c": 0.11871,
    "h": 95
  },
  "luminance": 0.68482
}

Semantic roles & 50–950 ramp

primary
#F0D778
secondary
#425FCA
accent
#35DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D778

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

Preview Lab → · Contrast checker → · Palette generator →

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