#F2C771#F2C771

#F2C771 is a very light, moderate orange. Relative luminance 0.609; OKLCH L 85.0% C 0.116 H 83.4°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#F2C771
RGBrgb(242, 199, 113)
HSLhsl(40, 83%, 70%)
HSVhsv(40, 53%, 95%)
CMYKcmyk(0%, 17.8%, 53.3%, 5.1%)
CIE-LABlab(82.34, 5.12, 48.37)
CIE-LCHlch(82.34, 48.64, 83.96°)
OKLaboklab(84.97% 0.0134 0.1148)
OKLCHoklch(84.97% 0.116 83.4)
XYZxyz(60.0246, 60.9197, 24.2166)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C771 #719CF2
analogous
#F28771 #F2C771 #DDF271
triadic
#F2C771 #71F2C7 #C771F2
tetradic
#F2C771 #71F287 #719CF2 #F271DD
square
#F2C771 #71F287 #719CF2 #F271DD
split-complementary
#F2C771 #71DDF2 #8771F2
monochromatic
#D59514 #EDB139 #F2C771 #F7DDA9 #FCF3E1

Accessibility & contrast

On white

1.59
#F2C771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#F2C771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C771
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C771#FFFFFF#000000##000000
##F2C7711.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66A
Deuteranopia (green-blind)
#E5D174
Tritanopia (blue-blind)
#FFB9B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f2c771;
/* rgb */ color: rgb(242, 199, 113);
/* oklch */ color: oklch(85.0% 0.116 83.4);
Tailwind
colors: {
  custom: {
    50: '#f9d79c',
    500: '#f2c771',
    950: '#000000',
  },
}
SCSS
$custom: #f2c771;
$custom-light: #f9d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c771",
  "rgb": {
    "r": 242,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 40,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84966,
    "c": 0.11555,
    "h": 83.4
  },
  "luminance": 0.60916
}

Semantic roles & 50–950 ramp

primary
#F2C771
secondary
#3C6CCB
accent
#4EE006
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F2C771

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

Preview Lab → · Contrast checker → · Palette generator →

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