#F9D271#F9D271

#F9D271 is a very light, vivid orange. Relative luminance 0.674; OKLCH L 87.8% C 0.124 H 87.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#F9D271
RGBrgb(249, 210, 113)
HSLhsl(43, 92%, 71%)
HSVhsv(43, 55%, 98%)
CMYKcmyk(0%, 15.7%, 54.6%, 2.4%)
CIE-LABlab(85.72, 2.29, 52.58)
CIE-LCHlch(85.72, 52.63, 87.51°)
OKLaboklab(87.78% 0.0047 0.1239)
OKLCHoklch(87.78% 0.124 87.8)
XYZxyz(65.0969, 67.4286, 25.2058)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D271 #7198F9
analogous
#F98E71 #F9D271 #DCF971
triadic
#F9D271 #71F9D2 #D271F9
tetradic
#F9D271 #71F98E #7198F9 #F971DC
square
#F9D271 #71F98E #7198F9 #F971DC
split-complementary
#F9D271 #71DCF9 #8E71F9
monochromatic
#E6A70A #F7BF36 #F9D271 #FBE5AC #FEF6E2

Accessibility & contrast

On white

1.45
#F9D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#F9D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D271
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D271#FFFFFF#000000##000000
##F9D2711.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#EFDB75
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f9d271;
/* rgb */ color: rgb(249, 210, 113);
/* oklch */ color: oklch(87.8% 0.124 87.8);
Tailwind
colors: {
  custom: {
    50: '#fedf9c',
    500: '#f9d271',
    950: '#000000',
  },
}
SCSS
$custom: #f9d271;
$custom-light: #fedf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d271",
  "rgb": {
    "r": 249,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 42.794,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87781,
    "c": 0.12396,
    "h": 87.8
  },
  "luminance": 0.67425
}

Semantic roles & 50–950 ramp

primary
#F9D271
secondary
#3A66D4
accent
#42E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D271

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

Preview Lab → · Contrast checker → · Palette generator →

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