#B4901F#B4901F

#B4901F is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.9% C 0.128 H 89.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B4901F
RGBrgb(180, 144, 31)
HSLhsl(46, 71%, 41%)
HSVhsv(46, 83%, 71%)
CMYKcmyk(0%, 20%, 82.8%, 29.4%)
CIE-LABlab(61.44, 2.99, 59.54)
CIE-LCHlch(61.44, 59.62, 87.12°)
OKLaboklab(66.87% 0.0014 0.128)
OKLCHoklch(66.87% 0.128 89.4)
XYZxyz(29.0448, 29.7507, 5.5087)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4901F #1F43B4
analogous
#B4451F #B4901F #8EB41F
triadic
#B4901F #1FB490 #901FB4
tetradic
#B4901F #1FB445 #1F43B4 #B41F8E
square
#B4901F #1FB445 #1F43B4 #B41F8E
split-complementary
#B4901F #1F8EB4 #451FB4
monochromatic
#4C3C0D #806616 #B4901F #DCB334 #E5C768

Accessibility & contrast

On white

3.02
#B4901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B4901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B4901F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4901F#FFFFFF#000000##000000
##B4901F1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#AA9827
Tritanopia (blue-blind)
#C4837B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b4901f;
/* rgb */ color: rgb(180, 144, 31);
/* oklch */ color: oklch(66.9% 0.128 89.4);
Tailwind
colors: {
  custom: {
    50: '#cfb066',
    500: '#b4901f',
    950: '#000000',
  },
}
SCSS
$custom: #b4901f;
$custom-light: #cfb066;
$custom-dark: #000000;
JSON
{
  "hex": "#b4901f",
  "rgb": {
    "r": 180,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 45.503,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.12799,
    "h": 89.4
  },
  "luminance": 0.29749
}

Semantic roles & 50–950 ramp

primary
#B4901F
secondary
#647DCB
accent
#66ED3A
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B4901F

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

Preview Lab → · Contrast checker → · Palette generator →

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