#B4931F#B4931F

#B4931F is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.5% C 0.130 H 91.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B4931F
RGBrgb(180, 147, 31)
HSLhsl(47, 71%, 41%)
HSVhsv(47, 83%, 71%)
CMYKcmyk(0%, 18.3%, 82.8%, 29.4%)
CIE-LABlab(62.23, 1.35, 60.23)
CIE-LCHlch(62.23, 60.24, 88.71°)
OKLaboklab(67.5% -0.0033 0.1295)
OKLCHoklch(67.5% 0.13 91.5)
XYZxyz(29.5052, 30.6716, 5.6622)
Luminance0.3067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4931F #1F40B4
analogous
#B4481F #B4931F #8BB41F
triadic
#B4931F #1FB493 #931FB4
tetradic
#B4931F #1FB448 #1F40B4 #B41F8B
square
#B4931F #1FB448 #1F40B4 #B41F8B
split-complementary
#B4931F #1F8BB4 #481FB4
monochromatic
#4C3E0D #806816 #B4931F #DCB734 #E5C968

Accessibility & contrast

On white

2.94
#B4931F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B4931F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4931F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4931F#FFFFFF#000000##000000
##B4931F1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AD9A27
Tritanopia (blue-blind)
#C3867E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b4931f;
/* rgb */ color: rgb(180, 147, 31);
/* oklch */ color: oklch(67.5% 0.130 91.5);
Tailwind
colors: {
  custom: {
    50: '#cfb266',
    500: '#b4931f',
    950: '#000000',
  },
}
SCSS
$custom: #b4931f;
$custom-light: #cfb266;
$custom-dark: #000000;
JSON
{
  "hex": "#b4931f",
  "rgb": {
    "r": 180,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 46.711,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67496,
    "c": 0.12951,
    "h": 91.5
  },
  "luminance": 0.3067
}

Semantic roles & 50–950 ramp

primary
#B4931F
secondary
#647BCB
accent
#62ED3A
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B4931F

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

Preview Lab → · Contrast checker → · Palette generator →

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