#F2CC71#F2CC71

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

Color values

HEX#F2CC71
RGBrgb(242, 204, 113)
HSLhsl(42, 83%, 70%)
HSVhsv(42, 53%, 95%)
CMYKcmyk(0%, 15.7%, 53.3%, 5.1%)
CIE-LABlab(83.58, 2.53, 49.86)
CIE-LCHlch(83.58, 49.93, 87.10°)
OKLaboklab(85.94% 0.0058 0.1181)
OKLCHoklch(85.94% 0.118 87.2)
XYZxyz(61.1940, 63.2584, 24.6064)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC71 #7197F2
analogous
#F28C71 #F2CC71 #D7F271
triadic
#F2CC71 #71F2CC #CC71F2
tetradic
#F2CC71 #71F28C #7197F2 #F271D7
square
#F2CC71 #71F28C #7197F2 #F271D7
split-complementary
#F2CC71 #71D7F2 #8C71F2
monochromatic
#D59C14 #EDB839 #F2CC71 #F7E0A9 #FCF4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CC71#FFFFFF#000000##000000
##F2CC711.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)
#DFCA69
Deuteranopia (green-blind)
#E8D574
Tritanopia (blue-blind)
#FFBEB7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cc71;
/* rgb */ color: rgb(242, 204, 113);
/* oklch */ color: oklch(85.9% 0.118 87.2);
Tailwind
colors: {
  custom: {
    50: '#f9db9c',
    500: '#f2cc71',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc71;
$custom-light: #f9db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc71",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 42.326,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85944,
    "c": 0.11821,
    "h": 87.2
  },
  "luminance": 0.63255
}

Semantic roles & 50–950 ramp

primary
#F2CC71
secondary
#3C66CB
accent
#46E006
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F2CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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