#B49E1B#B49E1B

#B49E1B 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#B49E1B
RGBrgb(180, 158, 27)
HSLhsl(51, 74%, 41%)
HSVhsv(51, 85%, 71%)
CMYKcmyk(0%, 12.2%, 85%, 29.4%)
CIE-LABlab(65.15, -4.70, 63.81)
CIE-LCHlch(65.15, 63.98, 94.21°)
OKLaboklab(69.8% -0.0207 0.1365)
OKLCHoklch(69.8% 0.138 98.6)
XYZxyz(31.2488, 34.2378, 5.9993)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E1B #1B31B4
analogous
#B4521B #B49E1B #7DB41B
triadic
#B49E1B #1BB49E #9E1BB4
tetradic
#B49E1B #1BB452 #1B31B4 #B41B7D
square
#B49E1B #1BB452 #1B31B4 #B41B7D
split-complementary
#B49E1B #1B7DB4 #521BB4
monochromatic
#4A410B #7F6F13 #B49E1B #DFC62D #E7D462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49E1B#FFFFFF#000000##000000
##B49E1B1.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: #b49e1b;
/* rgb */ color: rgb(180, 158, 27);
/* oklch */ color: oklch(69.8% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#cfba66',
    500: '#b49e1b',
    950: '#000000',
  },
}
SCSS
$custom: #b49e1b;
$custom-light: #cfba66;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e1b",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 51.373,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.13807,
    "h": 98.6
  },
  "luminance": 0.34236
}

Semantic roles & 50–950 ramp

primary
#B49E1B
secondary
#5F6ECC
accent
#52F137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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