#F0CC7A#F0CC7A

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

Color values

HEX#F0CC7A
RGBrgb(240, 204, 122)
HSLhsl(42, 80%, 71%)
HSVhsv(42, 49%, 94%)
CMYKcmyk(0%, 15%, 49.2%, 5.9%)
CIE-LABlab(83.50, 2.49, 45.33)
CIE-LCHlch(83.50, 45.40, 86.86°)
OKLaboklab(85.88% 0.0068 0.1088)
OKLCHoklch(85.88% 0.109 86.4)
XYZxyz(61.0432, 63.1191, 27.3764)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC7A #7A9EF0
analogous
#F0917A #F0CC7A #D9F07A
triadic
#F0CC7A #7AF0CC #CC7AF0
tetradic
#F0CC7A #7AF091 #7A9EF0 #F07AD9
square
#F0CC7A #7AF091 #7A9EF0 #F07AD9
split-complementary
#F0CC7A #7AD9F0 #917AF0
monochromatic
#D79D18 #EAB743 #F0CC7A #F6E1B1 #FCF4E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CC7A#FFFFFF#000000##000000
##F0CC7A1.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)
#DECA73
Deuteranopia (green-blind)
#E7D47D
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc7a;
/* rgb */ color: rgb(240, 204, 122);
/* oklch */ color: oklch(85.9% 0.109 86.4);
Tailwind
colors: {
  custom: {
    50: '#f7dba2',
    500: '#f0cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc7a;
$custom-light: #f7dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc7a",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 41.695,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85879,
    "c": 0.109,
    "h": 86.4
  },
  "luminance": 0.63116
}

Semantic roles & 50–950 ramp

primary
#F0CC7A
secondary
#446DCA
accent
#4ADC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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