#F0CC76#F0CC76

#F0CC76 is a very light, moderate orange. Relative luminance 0.630; OKLCH L 85.8% C 0.113 H 87.3°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#F0CC76
RGBrgb(240, 204, 118)
HSLhsl(42, 80%, 70%)
HSVhsv(42, 51%, 94%)
CMYKcmyk(0%, 15%, 50.8%, 5.9%)
CIE-LABlab(83.45, 2.14, 47.24)
CIE-LCHlch(83.45, 47.29, 87.41°)
OKLaboklab(85.82% 0.0053 0.1127)
OKLCHoklch(85.82% 0.113 87.3)
XYZxyz(60.8004, 63.0220, 26.0979)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC76 #769AF0
analogous
#F08F76 #F0CC76 #D7F076
triadic
#F0CC76 #76F0CC #CC76F0
tetradic
#F0CC76 #76F08F #769AF0 #F076D7
square
#F0CC76 #76F08F #769AF0 #F076D7
split-complementary
#F0CC76 #76D7F0 #8F76F0
monochromatic
#D49D17 #EAB73F #F0CC76 #F6E1AD #FCF5E3

Accessibility & contrast

On white

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

On black

13.60
#F0CC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC76
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC76#FFFFFF#000000##000000
##F0CC761.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cc76;
/* rgb */ color: rgb(240, 204, 118);
/* oklch */ color: oklch(85.8% 0.113 87.3);
Tailwind
colors: {
  custom: {
    50: '#f7db9f',
    500: '#f0cc76',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc76;
$custom-light: #f7db9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc76",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 42.295,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85822,
    "c": 0.11286,
    "h": 87.3
  },
  "luminance": 0.63019
}

Semantic roles & 50–950 ramp

primary
#F0CC76
secondary
#4169CA
accent
#47DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CC76

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

Preview Lab → · Contrast checker → · Palette generator →

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