#B49831#B49831

#B49831 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.7% C 0.123 H 93.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B49831
RGBrgb(180, 152, 49)
HSLhsl(47, 57%, 45%)
HSVhsv(47, 73%, 71%)
CMYKcmyk(0%, 15.6%, 72.8%, 29.4%)
CIE-LABlab(63.66, -0.64, 55.20)
CIE-LCHlch(63.66, 55.20, 90.67°)
OKLaboklab(68.66% -0.0072 0.1224)
OKLCHoklch(68.66% 0.123 93.4)
XYZxyz(30.6066, 32.3833, 7.5436)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49831 #314DB4
analogous
#B45731 #B49831 #8EB431
triadic
#B49831 #31B498 #9831B4
tetradic
#B49831 #31B457 #314DB4 #B4318E
square
#B49831 #31B457 #314DB4 #B4318E
split-complementary
#B49831 #318EB4 #5731B4
monochromatic
#544717 #846F24 #B49831 #D0B552 #DDCA82

Accessibility & contrast

On white

2.81
#B49831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B49831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49831
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49831#FFFFFF#000000##000000
##B498311.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#C38C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b49831;
/* rgb */ color: rgb(180, 152, 49);
/* oklch */ color: oklch(68.7% 0.123 93.4);
Tailwind
colors: {
  custom: {
    50: '#ceb670',
    500: '#b49831',
    950: '#000000',
  },
}
SCSS
$custom: #b49831;
$custom-light: #ceb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b49831",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 47.176,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.12264,
    "h": 93.4
  },
  "luminance": 0.32382
}

Semantic roles & 50–950 ramp

primary
#B49831
secondary
#7B8BC6
accent
#68E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49831

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

Preview Lab → · Contrast checker → · Palette generator →

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