#B49A1F#B49A1F

#B49A1F is a light, vivid yellow. Relative luminance 0.329; OKLCH L 69.0% C 0.134 H 96.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B49A1F
RGBrgb(180, 154, 31)
HSLhsl(50, 71%, 41%)
HSVhsv(50, 83%, 71%)
CMYKcmyk(0%, 14.4%, 82.8%, 29.4%)
CIE-LABlab(64.09, -2.44, 61.83)
CIE-LCHlch(64.09, 61.88, 92.26°)
OKLaboklab(68.97% -0.0141 0.133)
OKLCHoklch(68.97% 0.134 96)
XYZxyz(30.6270, 32.9152, 6.0361)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49A1F #1F39B4
analogous
#B4501F #B49A1F #84B41F
triadic
#B49A1F #1FB49A #9A1FB4
tetradic
#B49A1F #1FB450 #1F39B4 #B41F84
square
#B49A1F #1FB450 #1F39B4 #B41F84
split-complementary
#B49A1F #1F84B4 #501FB4
monochromatic
#4C410D #806D16 #B49A1F #DCBF34 #E5CF68

Accessibility & contrast

On white

2.77
#B49A1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B49A1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49A1F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49A1F#FFFFFF#000000##000000
##B49A1F1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#B29F29
Tritanopia (blue-blind)
#C38D84
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49a1f;
/* rgb */ color: rgb(180, 154, 31);
/* oklch */ color: oklch(69.0% 0.134 96.0);
Tailwind
colors: {
  custom: {
    50: '#cfb767',
    500: '#b49a1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49a1f;
$custom-light: #cfb767;
$custom-dark: #000000;
JSON
{
  "hex": "#b49a1f",
  "rgb": {
    "r": 180,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 49.53,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.1337,
    "h": 96
  },
  "luminance": 0.32913
}

Semantic roles & 50–950 ramp

primary
#B49A1F
secondary
#6476CB
accent
#5AED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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