#FFB204#FFB204

#FFB204 is a light, vivid orange. Relative luminance 0.531; OKLCH L 81.6% C 0.170 H 77.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#FFB204
RGBrgb(255, 178, 4)
HSLhsl(42, 100%, 51%)
HSVhsv(42, 98%, 100%)
CMYKcmyk(0%, 30.2%, 98.4%, 0%)
CIE-LABlab(77.94, 17.18, 80.52)
CIE-LCHlch(77.94, 82.33, 77.95°)
OKLaboklab(81.61% 0.0373 0.1659)
OKLCHoklch(81.61% 0.17 77.3)
XYZxyz(57.1869, 53.1147, 7.3552)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB204 #0451FF
analogous
#FF3504 #FFB204 #CEFF04
triadic
#FFB204 #04FFB2 #B204FF
tetradic
#FFB204 #04FF35 #0451FF #FF04CE
square
#FFB204 #04FF35 #0451FF #FF04CE
split-complementary
#FFB204 #04CEFF #3504FF
monochromatic
#895F00 #C68900 #FFB204 #FFC541 #FFD87E

Accessibility & contrast

On white

1.81
#FFB204 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#FFB204 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB204
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB204#FFFFFF#000000##000000
##FFB2041.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB500
Deuteranopia (green-blind)
#E1C817
Tritanopia (blue-blind)
#FF9D98
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ffb204;
/* rgb */ color: rgb(255, 178, 4);
/* oklch */ color: oklch(81.6% 0.170 77.3);
Tailwind
colors: {
  custom: {
    50: '#ffc867',
    500: '#ffb204',
    950: '#000000',
  },
}
SCSS
$custom: #ffb204;
$custom-light: #ffc867;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb204",
  "rgb": {
    "r": 255,
    "g": 178,
    "b": 4
  },
  "hsl": {
    "h": 41.594,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81613,
    "c": 0.16999,
    "h": 77.3
  },
  "luminance": 0.5311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFB204

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

Preview Lab → · Contrast checker → · Palette generator →

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