#F0C879#F0C879

#F0C879 is a very light, moderate orange. Relative luminance 0.612; OKLCH L 85.1% C 0.108 H 83.3°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#F0C879
RGBrgb(240, 200, 121)
HSLhsl(40, 80%, 71%)
HSVhsv(40, 50%, 94%)
CMYKcmyk(0%, 16.7%, 49.6%, 5.9%)
CIE-LABlab(82.50, 4.47, 44.58)
CIE-LCHlch(82.50, 44.80, 84.27°)
OKLaboklab(85.08% 0.0125 0.107)
OKLCHoklch(85.08% 0.108 83.3)
XYZxyz(60.0430, 61.2174, 26.7390)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C879 #79A1F0
analogous
#F08C79 #F0C879 #DCF079
triadic
#F0C879 #79F0C8 #C879F0
tetradic
#F0C879 #79F08C #79A1F0 #F079DC
square
#F0C879 #79F08C #79A1F0 #F079DC
split-complementary
#F0C879 #79DCF0 #8C79F0
monochromatic
#D79718 #EAB142 #F0C879 #F6DFB0 #FCF4E3

Accessibility & contrast

On white

1.59
#F0C879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#F0C879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C879
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C879#FFFFFF#000000##000000
##F0C8791.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC773
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#FFBBB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c879;
/* rgb */ color: rgb(240, 200, 121);
/* oklch */ color: oklch(85.1% 0.108 83.3);
Tailwind
colors: {
  custom: {
    50: '#f7d8a1',
    500: '#f0c879',
    950: '#000000',
  },
}
SCSS
$custom: #f0c879;
$custom-light: #f7d8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c879",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 121
  },
  "hsl": {
    "h": 39.832,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85081,
    "c": 0.10777,
    "h": 83.3
  },
  "luminance": 0.61214
}

Semantic roles & 50–950 ramp

primary
#F0C879
secondary
#4371CA
accent
#50DC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0C879

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

Preview Lab → · Contrast checker → · Palette generator →

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