#B49E1C#B49E1C

#B49E1C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.138 H 98.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B49E1C
RGBrgb(180, 158, 28)
HSLhsl(51, 73%, 41%)
HSVhsv(51, 84%, 71%)
CMYKcmyk(0%, 12.2%, 84.4%, 29.4%)
CIE-LABlab(65.15, -4.67, 63.56)
CIE-LCHlch(65.15, 63.73, 94.20°)
OKLaboklab(69.8% -0.0206 0.1361)
OKLCHoklch(69.8% 0.138 98.6)
XYZxyz(31.2605, 34.2425, 6.0613)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E1C #1C32B4
analogous
#B4521C #B49E1C #7EB41C
triadic
#B49E1C #1CB49E #9E1CB4
tetradic
#B49E1C #1CB452 #1C32B4 #B41C7E
square
#B49E1C #1CB452 #1C32B4 #B41C7E
split-complementary
#B49E1C #1C7EB4 #521CB4
monochromatic
#4A410C #7F7014 #B49E1C #DFC52F #E7D464

Accessibility & contrast

On white

2.68
#B49E1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B49E1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49E1C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49E1C#FFFFFF#000000##000000
##B49E1C1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B5A127
Tritanopia (blue-blind)
#C39187
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e1c;
/* rgb */ color: rgb(180, 158, 28);
/* oklch */ color: oklch(69.8% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#cfba67',
    500: '#b49e1c',
    950: '#000000',
  },
}
SCSS
$custom: #b49e1c;
$custom-light: #cfba67;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e1c",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 51.316,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.13769,
    "h": 98.6
  },
  "luminance": 0.34241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B49E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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