#B49E2D#B49E2D

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

Color values

HEX#B49E2D
RGBrgb(180, 158, 45)
HSLhsl(50, 60%, 44%)
HSVhsv(50, 75%, 71%)
CMYKcmyk(0%, 12.2%, 75%, 29.4%)
CIE-LABlab(65.24, -4.06, 58.26)
CIE-LCHlch(65.24, 58.40, 93.99°)
OKLaboklab(69.9% -0.0173 0.1281)
OKLCHoklch(69.9% 0.129 97.7)
XYZxyz(31.5245, 34.3481, 7.4515)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E2D #2D43B4
analogous
#B45B2D #B49E2D #87B42D
triadic
#B49E2D #2DB49E #9E2DB4
tetradic
#B49E2D #2DB45B #2D43B4 #B42D87
square
#B49E2D #2DB45B #2D43B4 #B42D87
split-complementary
#B49E2D #2D87B4 #5B2DB4
monochromatic
#524815 #837321 #B49E2D #D2BC4C #DECF7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49E2D#FFFFFF#000000##000000
##B49E2D1.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)
#AE9A18
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#C29288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e2d;
/* rgb */ color: rgb(180, 158, 45);
/* oklch */ color: oklch(69.9% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#ceba6e',
    500: '#b49e2d',
    950: '#000000',
  },
}
SCSS
$custom: #b49e2d;
$custom-light: #ceba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e2d",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 50.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69898,
    "c": 0.12932,
    "h": 97.7
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#B49E2D
secondary
#7683C7
accent
#5EE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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