#F0CC79#F0CC79

#F0CC79 is a very light, moderate orange. Relative luminance 0.631; OKLCH L 85.9% C 0.110 H 86.6°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#F0CC79
RGBrgb(240, 204, 121)
HSLhsl(42, 80%, 71%)
HSVhsv(42, 50%, 94%)
CMYKcmyk(0%, 15%, 49.6%, 5.9%)
CIE-LABlab(83.49, 2.40, 45.81)
CIE-LCHlch(83.49, 45.87, 87.00°)
OKLaboklab(85.87% 0.0064 0.1098)
OKLCHoklch(85.87% 0.11 86.6)
XYZxyz(60.9815, 63.0945, 27.0518)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC79 #799DF0
analogous
#F09079 #F0CC79 #D8F079
triadic
#F0CC79 #79F0CC #CC79F0
tetradic
#F0CC79 #79F090 #799DF0 #F079D8
square
#F0CC79 #79F090 #799DF0 #F079D8
split-complementary
#F0CC79 #79D8F0 #9079F0
monochromatic
#D79D18 #EAB742 #F0CC79 #F6E1B0 #FCF5E3

Accessibility & contrast

On white

1.54
#F0CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#F0CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC79
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC79#FFFFFF#000000##000000
##F0CC791.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA72
Deuteranopia (green-blind)
#E7D47C
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc79;
/* rgb */ color: rgb(240, 204, 121);
/* oklch */ color: oklch(85.9% 0.110 86.6);
Tailwind
colors: {
  custom: {
    50: '#f7dba1',
    500: '#f0cc79',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc79;
$custom-light: #f7dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc79",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 41.849,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85865,
    "c": 0.10997,
    "h": 86.6
  },
  "luminance": 0.63091
}

Semantic roles & 50–950 ramp

primary
#F0CC79
secondary
#436CCA
accent
#49DC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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