#B49E2B#B49E2B

#B49E2B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.9% C 0.130 H 97.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B49E2B
RGBrgb(180, 158, 43)
HSLhsl(50, 61%, 44%)
HSVhsv(50, 76%, 71%)
CMYKcmyk(0%, 12.2%, 76.1%, 29.4%)
CIE-LABlab(65.23, -4.15, 58.97)
CIE-LCHlch(65.23, 59.11, 94.02°)
OKLaboklab(69.88% -0.0178 0.1293)
OKLCHoklch(69.88% 0.13 97.8)
XYZxyz(31.4869, 34.3331, 7.2535)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E2B #2B41B4
analogous
#B4592B #B49E2B #85B42B
triadic
#B49E2B #2BB49E #9E2BB4
tetradic
#B49E2B #2BB459 #2B41B4 #B42B85
square
#B49E2B #2BB459 #2B41B4 #B42B85
split-complementary
#B49E2B #2B85B4 #592BB4
monochromatic
#514713 #83731F #B49E2B #D3BD49 #DFCF7A

Accessibility & contrast

On white

2.67
#B49E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B49E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49E2B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49E2B#FFFFFF#000000##000000
##B49E2B1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#C29288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e2b;
/* rgb */ color: rgb(180, 158, 43);
/* oklch */ color: oklch(69.9% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#ceba6d',
    500: '#b49e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b49e2b;
$custom-light: #ceba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e2b",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 50.365,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.13048,
    "h": 97.8
  },
  "luminance": 0.34331
}

Semantic roles & 50–950 ramp

primary
#B49E2B
secondary
#7381C7
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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