#B1901F#B1901F

#B1901F is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.6% C 0.127 H 91.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B1901F
RGBrgb(177, 144, 31)
HSLhsl(46, 70%, 41%)
HSVhsv(46, 82%, 69%)
CMYKcmyk(0%, 18.6%, 82.5%, 30.6%)
CIE-LABlab(61.13, 1.64, 59.15)
CIE-LCHlch(61.13, 59.18, 88.41°)
OKLaboklab(66.56% -0.0024 0.1273)
OKLCHoklch(66.56% 0.127 91.1)
XYZxyz(28.3538, 29.3944, 5.4763)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1901F #1F40B1
analogous
#B1471F #B1901F #89B11F
triadic
#B1901F #1FB190 #901FB1
tetradic
#B1901F #1FB147 #1F40B1 #B11F89
square
#B1901F #1FB147 #1F40B1 #B11F89
split-complementary
#B1901F #1F89B1 #471FB1
monochromatic
#493B0D #7D6616 #B1901F #DBB532 #E4C866

Accessibility & contrast

On white

3.05
#B1901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B1901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B1901F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1901F#FFFFFF#000000##000000
##B1901F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#C0837B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b1901f;
/* rgb */ color: rgb(177, 144, 31);
/* oklch */ color: oklch(66.6% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#cdb066',
    500: '#b1901f',
    950: '#000000',
  },
}
SCSS
$custom: #b1901f;
$custom-light: #cdb066;
$custom-dark: #000000;
JSON
{
  "hex": "#b1901f",
  "rgb": {
    "r": 177,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 46.438,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.12732,
    "h": 91.1
  },
  "luminance": 0.29393
}

Semantic roles & 50–950 ramp

primary
#B1901F
secondary
#627ACA
accent
#63ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B1901F

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

Preview Lab → · Contrast checker → · Palette generator →

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