#F0C778#F0C778

#F0C778 is a very light, moderate orange. Relative luminance 0.607; OKLCH L 84.9% C 0.108 H 82.8°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#F0C778
RGBrgb(240, 199, 120)
HSLhsl(40, 80%, 71%)
HSVhsv(40, 50%, 94%)
CMYKcmyk(0%, 17.1%, 50%, 5.9%)
CIE-LABlab(82.23, 4.90, 44.75)
CIE-LCHlch(82.23, 45.02, 83.75°)
OKLaboklab(84.87% 0.0136 0.1074)
OKLCHoklch(84.87% 0.108 82.8)
XYZxyz(59.7511, 60.7313, 26.3407)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C778 #78A1F0
analogous
#F08B78 #F0C778 #DDF078
triadic
#F0C778 #78F0C7 #C778F0
tetradic
#F0C778 #78F08B #78A1F0 #F078DD
square
#F0C778 #78F08B #78A1F0 #F078DD
split-complementary
#F0C778 #78DDF0 #8B78F0
monochromatic
#D69518 #EAB041 #F0C778 #F6DEAF #FCF4E3

Accessibility & contrast

On white

1.60
#F0C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#F0C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C778
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C778#FFFFFF#000000##000000
##F0C7781.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#E3D17A
Tritanopia (blue-blind)
#FFBAB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c778;
/* rgb */ color: rgb(240, 199, 120);
/* oklch */ color: oklch(84.9% 0.108 82.8);
Tailwind
colors: {
  custom: {
    50: '#f7d7a0',
    500: '#f0c778',
    950: '#000000',
  },
}
SCSS
$custom: #f0c778;
$custom-light: #f7d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c778",
  "rgb": {
    "r": 240,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 39.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84871,
    "c": 0.10821,
    "h": 82.8
  },
  "luminance": 0.60728
}

Semantic roles & 50–950 ramp

primary
#F0C778
secondary
#4271CA
accent
#51DC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0C778

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

Preview Lab → · Contrast checker → · Palette generator →

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