#F8B04F#F8B04F

#F8B04F is a light, vivid orange. Relative luminance 0.516; OKLCH L 80.8% C 0.139 H 71.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#F8B04F
RGBrgb(248, 176, 79)
HSLhsl(34, 92%, 64%)
HSVhsv(34, 68%, 97%)
CMYKcmyk(0%, 29%, 68.1%, 2.7%)
CIE-LABlab(77.03, 17.32, 58.45)
CIE-LCHlch(77.03, 60.96, 73.49°)
OKLaboklab(80.83% 0.0444 0.1322)
OKLCHoklch(80.83% 0.139 71.4)
XYZxyz(55.6518, 51.5762, 14.4198)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8B04F #4F97F8
analogous
#F85C4F #F8B04F #ECF84F
triadic
#F8B04F #4FF8B0 #B04FF8
tetradic
#F8B04F #4FF85C #4F97F8 #F84FEC
square
#F8B04F #4FF85C #4F97F8 #F84FEC
split-complementary
#F8B04F #4FECF8 #5C4FF8
monochromatic
#C57408 #F69614 #F8B04F #FACA8A #FDE5C5

Accessibility & contrast

On white

1.86
#F8B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#F8B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8B04F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8B04F#FFFFFF#000000##000000
##F8B04F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B444
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#FF9E9B
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f8b04f;
/* rgb */ color: rgb(248, 176, 79);
/* oklch */ color: oklch(80.8% 0.139 71.4);
Tailwind
colors: {
  custom: {
    50: '#ffc784',
    500: '#f8b04f',
    950: '#000000',
  },
}
SCSS
$custom: #f8b04f;
$custom-light: #ffc784;
$custom-dark: #000000;
JSON
{
  "hex": "#f8b04f",
  "rgb": {
    "r": 248,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 34.438,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80833,
    "c": 0.13942,
    "h": 71.4
  },
  "luminance": 0.51572
}

Semantic roles & 50–950 ramp

primary
#F8B04F
secondary
#2A6AC2
accent
#62E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130B
muted
#87827E

Preview Lab

Preview with #F8B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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