#F8D271#F8D271

#F8D271 is a very light, vivid orange. Relative luminance 0.672; OKLCH L 87.7% C 0.124 H 88.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#F8D271
RGBrgb(248, 210, 113)
HSLhsl(43, 91%, 71%)
HSVhsv(43, 54%, 97%)
CMYKcmyk(0%, 15.3%, 54.4%, 2.7%)
CIE-LABlab(85.63, 1.88, 52.44)
CIE-LCHlch(85.63, 52.48, 87.95°)
OKLaboklab(87.69% 0.0035 0.1236)
OKLCHoklch(87.69% 0.124 88.4)
XYZxyz(64.7414, 67.2452, 25.1891)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D271 #7197F8
analogous
#F88E71 #F8D271 #DAF871
triadic
#F8D271 #71F8D2 #D271F8
tetradic
#F8D271 #71F88E #7197F8 #F871DA
square
#F8D271 #71F88E #7197F8 #F871DA
split-complementary
#F8D271 #71DAF8 #8E71F8
monochromatic
#E3A70B #F5C037 #F8D271 #FBE4AB #FEF6E2

Accessibility & contrast

On white

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

On black

14.45
#F8D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D271
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D271#FFFFFF#000000##000000
##F8D2711.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d271;
/* rgb */ color: rgb(248, 210, 113);
/* oklch */ color: oklch(87.7% 0.124 88.4);
Tailwind
colors: {
  custom: {
    50: '#fddf9c',
    500: '#f8d271',
    950: '#000000',
  },
}
SCSS
$custom: #f8d271;
$custom-light: #fddf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d271",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 43.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87687,
    "c": 0.12366,
    "h": 88.4
  },
  "luminance": 0.67242
}

Semantic roles & 50–950 ramp

primary
#F8D271
secondary
#3A65D3
accent
#41E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D271

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

Preview Lab → · Contrast checker → · Palette generator →

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