#FFB306#FFB306

#FFB306 is a light, vivid orange. Relative luminance 0.535; OKLCH L 81.8% C 0.170 H 77.8°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#FFB306
RGBrgb(255, 179, 6)
HSLhsl(42, 100%, 51%)
HSVhsv(42, 98%, 100%)
CMYKcmyk(0%, 29.8%, 97.6%, 0%)
CIE-LABlab(78.18, 16.68, 80.47)
CIE-LCHlch(78.18, 82.18, 78.29°)
OKLaboklab(81.8% 0.0359 0.166)
OKLCHoklch(81.8% 0.17 77.8)
XYZxyz(57.3975, 53.5185, 7.4795)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB306 #0652FF
analogous
#FF3606 #FFB306 #CEFF06
triadic
#FFB306 #06FFB3 #B306FF
tetradic
#FFB306 #06FF36 #0652FF #FF06CE
square
#FFB306 #06FF36 #0652FF #FF06CE
split-complementary
#FFB306 #06CEFF #3606FF
monochromatic
#8B6000 #C88B00 #FFB306 #FFC643 #FFD880

Accessibility & contrast

On white

1.79
#FFB306 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#FFB306 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB306
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB306#FFFFFF#000000##000000
##FFB3061.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#E1C918
Tritanopia (blue-blind)
#FF9E99
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ffb306;
/* rgb */ color: rgb(255, 179, 6);
/* oklch */ color: oklch(81.8% 0.170 77.8);
Tailwind
colors: {
  custom: {
    50: '#ffc967',
    500: '#ffb306',
    950: '#000000',
  },
}
SCSS
$custom: #ffb306;
$custom-light: #ffc967;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb306",
  "rgb": {
    "r": 255,
    "g": 179,
    "b": 6
  },
  "hsl": {
    "h": 41.687,
    "s": 100,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.16983,
    "h": 77.8
  },
  "luminance": 0.53513
}

Semantic roles & 50–950 ramp

primary
#FFB306
secondary
#193E90
accent
#6AFF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FFB306

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

Preview Lab → · Contrast checker → · Palette generator →

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