#B49C1F#B49C1F

#B49C1F is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.4% C 0.135 H 97.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B49C1F
RGBrgb(180, 156, 31)
HSLhsl(50, 71%, 41%)
HSVhsv(50, 83%, 71%)
CMYKcmyk(0%, 13.3%, 82.8%, 29.4%)
CIE-LABlab(64.63, -3.51, 62.29)
CIE-LCHlch(64.63, 62.39, 93.23°)
OKLaboklab(69.39% -0.0171 0.134)
OKLCHoklch(69.39% 0.135 97.3)
XYZxyz(30.9599, 33.5809, 6.1471)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49C1F #1F37B4
analogous
#B4521F #B49C1F #82B41F
triadic
#B49C1F #1FB49C #9C1FB4
tetradic
#B49C1F #1FB452 #1F37B4 #B41F82
square
#B49C1F #1FB452 #1F37B4 #B41F82
split-complementary
#B49C1F #1F82B4 #521FB4
monochromatic
#4C420D #806F16 #B49C1F #DCC134 #E5D168

Accessibility & contrast

On white

2.72
#B49C1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B49C1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49C1F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49C1F#FFFFFF#000000##000000
##B49C1F1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B3A029
Tritanopia (blue-blind)
#C38F85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49c1f;
/* rgb */ color: rgb(180, 156, 31);
/* oklch */ color: oklch(69.4% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#cfb868',
    500: '#b49c1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49c1f;
$custom-light: #cfb868;
$custom-dark: #000000;
JSON
{
  "hex": "#b49c1f",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 50.336,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69392,
    "c": 0.13506,
    "h": 97.3
  },
  "luminance": 0.33579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B49C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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