#B49F1F#B49F1F

#B49F1F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.137 H 99.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B49F1F
RGBrgb(180, 159, 31)
HSLhsl(52, 71%, 41%)
HSVhsv(52, 83%, 71%)
CMYKcmyk(0%, 11.7%, 82.8%, 29.4%)
CIE-LABlab(65.44, -5.12, 62.98)
CIE-LCHlch(65.44, 63.19, 94.64°)
OKLaboklab(70.03% -0.0216 0.1355)
OKLCHoklch(70.03% 0.137 99.1)
XYZxyz(31.4695, 34.6001, 6.3170)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49F1F #1F34B4
analogous
#B4551F #B49F1F #7FB41F
triadic
#B49F1F #1FB49F #9F1FB4
tetradic
#B49F1F #1FB455 #1F34B4 #B41F7F
square
#B49F1F #1FB455 #1F34B4 #B41F7F
split-complementary
#B49F1F #1F7FB4 #551FB4
monochromatic
#4C430D #807116 #B49F1F #DCC434 #E5D368

Accessibility & contrast

On white

2.65
#B49F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B49F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49F1F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49F1F#FFFFFF#000000##000000
##B49F1F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#C39288
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b49f1f;
/* rgb */ color: rgb(180, 159, 31);
/* oklch */ color: oklch(70.0% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#cfbb68',
    500: '#b49f1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49f1f;
$custom-light: #cfbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#b49f1f",
  "rgb": {
    "r": 180,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 51.544,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.13718,
    "h": 99.1
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

primary
#B49F1F
secondary
#6473CB
accent
#54ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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