#B49B18#B49B18

#B49B18 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.2% C 0.137 H 97.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B49B18
RGBrgb(180, 155, 24)
HSLhsl(50, 76%, 40%)
HSVhsv(50, 87%, 71%)
CMYKcmyk(0%, 13.9%, 86.7%, 29.4%)
CIE-LABlab(64.33, -3.17, 63.88)
CIE-LCHlch(64.33, 63.95, 92.84°)
OKLaboklab(69.15% -0.0166 0.1361)
OKLCHoklch(69.15% 0.137 97)
XYZxyz(30.7103, 33.2137, 5.6573)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49B18 #1831B4
analogous
#B44D18 #B49B18 #7FB418
triadic
#B49B18 #18B49B #9B18B4
tetradic
#B49B18 #18B44D #1831B4 #B4187F
square
#B49B18 #18B44D #1831B4 #B4187F
split-complementary
#B49B18 #187FB4 #4D18B4
monochromatic
#483E0A #7E6D11 #B49B18 #E2C427 #E9D35D

Accessibility & contrast

On white

2.75
#B49B18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B49B18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49B18
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49B18#FFFFFF#000000##000000
##B49B181.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#B29F24
Tritanopia (blue-blind)
#C38E84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49b18;
/* rgb */ color: rgb(180, 155, 24);
/* oklch */ color: oklch(69.2% 0.137 97.0);
Tailwind
colors: {
  custom: {
    50: '#cfb865',
    500: '#b49b18',
    950: '#000000',
  },
}
SCSS
$custom: #b49b18;
$custom-light: #cfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#b49b18",
  "rgb": {
    "r": 180,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 50.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.6915,
    "c": 0.13708,
    "h": 97
  },
  "luminance": 0.33212
}

Semantic roles & 50–950 ramp

primary
#B49B18
secondary
#5B6DCD
accent
#53F335
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49B18

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

Preview Lab → · Contrast checker → · Palette generator →

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