#FFB104#FFB104

#FFB104 is a light, vivid orange. Relative luminance 0.527; OKLCH L 81.4% C 0.170 H 76.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#FFB104
RGBrgb(255, 177, 4)
HSLhsl(41, 100%, 51%)
HSVhsv(41, 98%, 100%)
CMYKcmyk(0%, 30.6%, 98.4%, 0%)
CIE-LABlab(77.71, 17.70, 80.36)
CIE-LCHlch(77.71, 82.28, 77.58°)
OKLaboklab(81.43% 0.0388 0.1655)
OKLCHoklch(81.43% 0.17 76.8)
XYZxyz(56.9886, 52.7182, 7.2891)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB104 #0452FF
analogous
#FF3404 #FFB104 #CFFF04
triadic
#FFB104 #04FFB1 #B104FF
tetradic
#FFB104 #04FF34 #0452FF #FF04CF
square
#FFB104 #04FF34 #0452FF #FF04CF
split-complementary
#FFB104 #04CFFF #3404FF
monochromatic
#895E00 #C68800 #FFB104 #FFC441 #FFD77E

Accessibility & contrast

On white

1.82
#FFB104 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#FFB104 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB104
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB104#FFFFFF#000000##000000
##FFB1041.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#E0C816
Tritanopia (blue-blind)
#FF9C97
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ffb104;
/* rgb */ color: rgb(255, 177, 4);
/* oklch */ color: oklch(81.4% 0.170 76.8);
Tailwind
colors: {
  custom: {
    50: '#ffc867',
    500: '#ffb104',
    950: '#000000',
  },
}
SCSS
$custom: #ffb104;
$custom-light: #ffc867;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb104",
  "rgb": {
    "r": 255,
    "g": 177,
    "b": 4
  },
  "hsl": {
    "h": 41.355,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.8143,
    "c": 0.16995,
    "h": 76.8
  },
  "luminance": 0.52713
}

Semantic roles & 50–950 ramp

primary
#FFB104
secondary
#193D8E
accent
#6BFF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FFB104

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

Preview Lab → · Contrast checker → · Palette generator →

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