#F9C271#F9C271

#F9C271 is a very light, moderate orange. Relative luminance 0.599; OKLCH L 84.7% C 0.117 H 75.7°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#F9C271
RGBrgb(249, 194, 113)
HSLhsl(36, 92%, 71%)
HSVhsv(36, 55%, 98%)
CMYKcmyk(0%, 22.1%, 54.6%, 2.4%)
CIE-LABlab(81.79, 10.57, 47.87)
CIE-LCHlch(81.79, 49.03, 77.55°)
OKLaboklab(84.7% 0.0289 0.1136)
OKLCHoklch(84.7% 0.117 75.7)
XYZxyz(61.3424, 59.9195, 23.9543)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C271 #71A8F9
analogous
#F97E71 #F9C271 #ECF971
triadic
#F9C271 #71F9C2 #C271F9
tetradic
#F9C271 #71F97E #71A8F9 #F971EC
square
#F9C271 #71F97E #71A8F9 #F971EC
split-complementary
#F9C271 #71ECF9 #7E71F9
monochromatic
#E68D0A #F7A936 #F9C271 #FBDBAC #FEF2E2

Accessibility & contrast

On white

1.62
#F9C271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#F9C271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9C271
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9C271#FFFFFF#000000##000000
##F9C2711.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#E4D173
Tritanopia (blue-blind)
#FFB3AF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f9c271;
/* rgb */ color: rgb(249, 194, 113);
/* oklch */ color: oklch(84.7% 0.117 75.7);
Tailwind
colors: {
  custom: {
    50: '#fed49b',
    500: '#f9c271',
    950: '#000000',
  },
}
SCSS
$custom: #f9c271;
$custom-light: #fed49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c271",
  "rgb": {
    "r": 249,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 35.735,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84698,
    "c": 0.11719,
    "h": 75.7
  },
  "luminance": 0.59916
}

Semantic roles & 50–950 ramp

primary
#F9C271
secondary
#3A78D4
accent
#5DE600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F9C271

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

Preview Lab → · Contrast checker → · Palette generator →

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