#F8D272#F8D272

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

Color values

HEX#F8D272
RGBrgb(248, 210, 114)
HSLhsl(43, 91%, 71%)
HSVhsv(43, 54%, 97%)
CMYKcmyk(0%, 15.3%, 54%, 2.7%)
CIE-LABlab(85.64, 1.96, 51.98)
CIE-LCHlch(85.64, 52.02, 87.84°)
OKLaboklab(87.7% 0.0039 0.1227)
OKLCHoklch(87.7% 0.123 88.2)
XYZxyz(64.7980, 67.2679, 25.4872)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D272 #7298F8
analogous
#F88F72 #F8D272 #DBF872
triadic
#F8D272 #72F8D2 #D272F8
tetradic
#F8D272 #72F88F #7298F8 #F872DB
square
#F8D272 #72F88F #7298F8 #F872DB
split-complementary
#F8D272 #72DBF8 #8F72F8
monochromatic
#E4A70B #F5BF38 #F8D272 #FBE5AC #FEF6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D272#FFFFFF#000000##000000
##F8D2721.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)
#E5D069
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d272;
/* rgb */ color: rgb(248, 210, 114);
/* oklch */ color: oklch(87.7% 0.123 88.2);
Tailwind
colors: {
  custom: {
    50: '#fddf9d',
    500: '#f8d272',
    950: '#000000',
  },
}
SCSS
$custom: #f8d272;
$custom-light: #fddf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d272",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 42.985,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.877,
    "c": 0.12275,
    "h": 88.2
  },
  "luminance": 0.67265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D272

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

Preview Lab → · Contrast checker → · Palette generator →

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