#F0CC77#F0CC77

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

Color values

HEX#F0CC77
RGBrgb(240, 204, 119)
HSLhsl(42, 80%, 70%)
HSVhsv(42, 50%, 94%)
CMYKcmyk(0%, 15%, 50.4%, 5.9%)
CIE-LABlab(83.47, 2.22, 46.76)
CIE-LCHlch(83.47, 46.81, 87.28°)
OKLaboklab(85.84% 0.0057 0.1118)
OKLCHoklch(85.84% 0.112 87.1)
XYZxyz(60.8601, 63.0459, 26.4126)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC77 #779BF0
analogous
#F09077 #F0CC77 #D7F077
triadic
#F0CC77 #77F0CC #CC77F0
tetradic
#F0CC77 #77F090 #779BF0 #F077D7
square
#F0CC77 #77F090 #779BF0 #F077D7
split-complementary
#F0CC77 #77D7F0 #9077F0
monochromatic
#D59D18 #EAB740 #F0CC77 #F6E1AE #FCF5E3

Accessibility & contrast

On white

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

On black

13.61
#F0CC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC77
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC77#FFFFFF#000000##000000
##F0CC771.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cc77;
/* rgb */ color: rgb(240, 204, 119);
/* oklch */ color: oklch(85.8% 0.112 87.1);
Tailwind
colors: {
  custom: {
    50: '#f7dba0',
    500: '#f0cc77',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc77;
$custom-light: #f7dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc77",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 42.149,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85836,
    "c": 0.1119,
    "h": 87.1
  },
  "luminance": 0.63043
}

Semantic roles & 50–950 ramp

primary
#F0CC77
secondary
#426ACA
accent
#48DC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CC77

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

Preview Lab → · Contrast checker → · Palette generator →

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