#F2CC70#F2CC70

#F2CC70 is a very light, moderate orange. Relative luminance 0.632; OKLCH L 85.9% C 0.119 H 87.4°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#F2CC70
RGBrgb(242, 204, 112)
HSLhsl(42, 83%, 69%)
HSVhsv(42, 54%, 95%)
CMYKcmyk(0%, 15.7%, 53.7%, 5.1%)
CIE-LABlab(83.57, 2.45, 50.33)
CIE-LCHlch(83.57, 50.39, 87.22°)
OKLaboklab(85.93% 0.0055 0.119)
OKLCHoklch(85.93% 0.119 87.4)
XYZxyz(61.1380, 63.2360, 24.3116)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC70 #7096F2
analogous
#F28B70 #F2CC70 #D7F270
triadic
#F2CC70 #70F2CC #CC70F2
tetradic
#F2CC70 #70F28B #7096F2 #F270D7
square
#F2CC70 #70F28B #7096F2 #F270D7
split-complementary
#F2CC70 #70D7F2 #8B70F2
monochromatic
#D49C13 #EDB838 #F2CC70 #F7E0A8 #FCF4E0

Accessibility & contrast

On white

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

On black

13.65
#F2CC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC70
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC70#FFFFFF#000000##000000
##F2CC701.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA68
Deuteranopia (green-blind)
#E8D573
Tritanopia (blue-blind)
#FFBEB7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cc70;
/* rgb */ color: rgb(242, 204, 112);
/* oklch */ color: oklch(85.9% 0.119 87.4);
Tailwind
colors: {
  custom: {
    50: '#f9db9b',
    500: '#f2cc70',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc70;
$custom-light: #f9db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc70",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 42.462,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85931,
    "c": 0.11912,
    "h": 87.4
  },
  "luminance": 0.63233
}

Semantic roles & 50–950 ramp

primary
#F2CC70
secondary
#3B65CB
accent
#45E006
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F2CC70

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

Preview Lab → · Contrast checker → · Palette generator →

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