#B49D1F#B49D1F

#B49D1F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.136 H 97.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B49D1F
RGBrgb(180, 157, 31)
HSLhsl(51, 71%, 41%)
HSVhsv(51, 83%, 71%)
CMYKcmyk(0%, 12.8%, 82.8%, 29.4%)
CIE-LABlab(64.90, -4.05, 62.52)
CIE-LCHlch(64.90, 62.65, 93.70°)
OKLaboklab(69.6% -0.0186 0.1345)
OKLCHoklch(69.6% 0.136 97.9)
XYZxyz(31.1284, 33.9179, 6.2033)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D1F #1F36B4
analogous
#B4531F #B49D1F #81B41F
triadic
#B49D1F #1FB49D #9D1FB4
tetradic
#B49D1F #1FB453 #1F36B4 #B41F81
square
#B49D1F #1FB453 #1F36B4 #B41F81
split-complementary
#B49D1F #1F81B4 #531FB4
monochromatic
#4C420D #806F16 #B49D1F #DCC234 #E5D268

Accessibility & contrast

On white

2.70
#B49D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B49D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D1F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D1F#FFFFFF#000000##000000
##B49D1F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B4A129
Tritanopia (blue-blind)
#C39086
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49d1f;
/* rgb */ color: rgb(180, 157, 31);
/* oklch */ color: oklch(69.6% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#cfb968',
    500: '#b49d1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49d1f;
$custom-light: #cfb968;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d1f",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 50.738,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.13575,
    "h": 97.9
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#B49D1F
secondary
#6474CB
accent
#56ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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