#B49D1C#B49D1C

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

Color values

HEX#B49D1C
RGBrgb(180, 157, 28)
HSLhsl(51, 73%, 41%)
HSVhsv(51, 84%, 71%)
CMYKcmyk(0%, 12.8%, 84.4%, 29.4%)
CIE-LABlab(64.89, -4.13, 63.33)
CIE-LCHlch(64.89, 63.47, 93.74°)
OKLaboklab(69.59% -0.0191 0.1356)
OKLCHoklch(69.59% 0.137 98)
XYZxyz(31.0907, 33.9028, 6.0047)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D1C #1C33B4
analogous
#B4511C #B49D1C #7FB41C
triadic
#B49D1C #1CB49D #9D1CB4
tetradic
#B49D1C #1CB451 #1C33B4 #B41C7F
square
#B49D1C #1CB451 #1C33B4 #B41C7F
split-complementary
#B49D1C #1C7FB4 #511CB4
monochromatic
#4A410C #7F6F14 #B49D1C #DFC42F #E7D364

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49D1C#FFFFFF#000000##000000
##B49D1C1.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)
#B4A127
Tritanopia (blue-blind)
#C39086
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49d1c;
/* rgb */ color: rgb(180, 157, 28);
/* oklch */ color: oklch(69.6% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfb967',
    500: '#b49d1c',
    950: '#000000',
  },
}
SCSS
$custom: #b49d1c;
$custom-light: #cfb967;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d1c",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 50.921,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69592,
    "c": 0.13698,
    "h": 98
  },
  "luminance": 0.33901
}

Semantic roles & 50–950 ramp

primary
#B49D1C
secondary
#6070CC
accent
#54F038
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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