#B49B1F#B49B1F

#B49B1F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.2% C 0.134 H 96.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B49B1F
RGBrgb(180, 155, 31)
HSLhsl(50, 71%, 41%)
HSVhsv(50, 83%, 71%)
CMYKcmyk(0%, 13.9%, 82.8%, 29.4%)
CIE-LABlab(64.36, -2.97, 62.06)
CIE-LCHlch(64.36, 62.13, 92.74°)
OKLaboklab(69.18% -0.0156 0.1335)
OKLCHoklch(69.18% 0.134 96.7)
XYZxyz(30.7928, 33.2466, 6.0914)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49B1F #1F38B4
analogous
#B4511F #B49B1F #83B41F
triadic
#B49B1F #1FB49B #9B1FB4
tetradic
#B49B1F #1FB451 #1F38B4 #B41F83
square
#B49B1F #1FB451 #1F38B4 #B41F83
split-complementary
#B49B1F #1F83B4 #511FB4
monochromatic
#4C410D #806E16 #B49B1F #DCC034 #E5D068

Accessibility & contrast

On white

2.75
#B49B1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B49B1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49B1F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49B1F#FFFFFF#000000##000000
##B49B1F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#B29F29
Tritanopia (blue-blind)
#C38E85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49b1f;
/* rgb */ color: rgb(180, 155, 31);
/* oklch */ color: oklch(69.2% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#cfb868',
    500: '#b49b1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49b1f;
$custom-light: #cfb868;
$custom-dark: #000000;
JSON
{
  "hex": "#b49b1f",
  "rgb": {
    "r": 180,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 49.933,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6918,
    "c": 0.13438,
    "h": 96.7
  },
  "luminance": 0.33245
}

Semantic roles & 50–950 ramp

primary
#B49B1F
secondary
#6475CB
accent
#58ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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