#B49A18#B49A18

#B49A18 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.136 H 96.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B49A18
RGBrgb(180, 154, 24)
HSLhsl(50, 76%, 40%)
HSVhsv(50, 87%, 71%)
CMYKcmyk(0%, 14.4%, 86.7%, 29.4%)
CIE-LABlab(64.07, -2.63, 63.66)
CIE-LCHlch(64.07, 63.71, 92.37°)
OKLaboklab(68.94% -0.0151 0.1356)
OKLCHoklch(68.94% 0.136 96.4)
XYZxyz(30.5446, 32.8822, 5.6020)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49A18 #1832B4
analogous
#B44C18 #B49A18 #80B418
triadic
#B49A18 #18B49A #9A18B4
tetradic
#B49A18 #18B44C #1832B4 #B41880
square
#B49A18 #18B44C #1832B4 #B41880
split-complementary
#B49A18 #1880B4 #4C18B4
monochromatic
#483E0A #7E6C11 #B49A18 #E2C327 #E9D25D

Accessibility & contrast

On white

2.77
#B49A18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B49A18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49A18
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49A18#FFFFFF#000000##000000
##B49A181.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#B29F24
Tritanopia (blue-blind)
#C38D83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49a18;
/* rgb */ color: rgb(180, 154, 24);
/* oklch */ color: oklch(68.9% 0.136 96.4);
Tailwind
colors: {
  custom: {
    50: '#cfb765',
    500: '#b49a18',
    950: '#000000',
  },
}
SCSS
$custom: #b49a18;
$custom-light: #cfb765;
$custom-dark: #000000;
JSON
{
  "hex": "#b49a18",
  "rgb": {
    "r": 180,
    "g": 154,
    "b": 24
  },
  "hsl": {
    "h": 50,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.13642,
    "h": 96.4
  },
  "luminance": 0.3288
}

Semantic roles & 50–950 ramp

primary
#B49A18
secondary
#5B6ECD
accent
#54F335
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49A18

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

Preview Lab → · Contrast checker → · Palette generator →

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