#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 |
|---|---|
| RGB | rgb(255, 179, 6) |
| HSL | hsl(42, 100%, 51%) |
| HSV | hsv(42, 98%, 100%) |
| CMYK | cmyk(0%, 29.8%, 97.6%, 0%) |
| CIE-LAB | lab(78.18, 16.68, 80.47) |
| CIE-LCH | lch(78.18, 82.18, 78.29°) |
| OKLab | oklab(81.8% 0.0359 0.166) |
| OKLCH | oklch(81.8% 0.17 77.8) |
| XYZ | xyz(57.3975, 53.5185, 7.4795) |
| Luminance | 0.5351 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Amber (survey)
#FEB308
ΔE00 0.23
Saffron
#FEB209
ΔE00 0.31
Yellow Orange
#FCB001
ΔE00 0.77
Orange Yellow
#FFAD01
ΔE00 2.07
Orangey Yellow
#FDB915
ΔE00 2.29
Squash
#F2AB15
ΔE00 2.63
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 |
|---|---|---|---|---|
| ##FFB306 | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.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