#B49C18#B49C18

#B49C18 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.4% C 0.138 H 97.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B49C18
RGBrgb(180, 156, 24)
HSLhsl(51, 76%, 40%)
HSVhsv(51, 87%, 71%)
CMYKcmyk(0%, 13.3%, 86.7%, 29.4%)
CIE-LABlab(64.60, -3.70, 64.10)
CIE-LCHlch(64.60, 64.20, 93.31°)
OKLaboklab(69.36% -0.0181 0.1366)
OKLCHoklch(69.36% 0.138 97.6)
XYZxyz(30.8774, 33.5479, 5.7130)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49C18 #1830B4
analogous
#B44E18 #B49C18 #7EB418
triadic
#B49C18 #18B49C #9C18B4
tetradic
#B49C18 #18B44E #1830B4 #B4187E
square
#B49C18 #18B44E #1830B4 #B4187E
split-complementary
#B49C18 #187EB4 #4E18B4
monochromatic
#483E0A #7E6D11 #B49C18 #E2C527 #E9D45D

Accessibility & contrast

On white

2.72
#B49C18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B49C18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49C18
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49C18#FFFFFF#000000##000000
##B49C181.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B3A024
Tritanopia (blue-blind)
#C38F85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49c18;
/* rgb */ color: rgb(180, 156, 24);
/* oklch */ color: oklch(69.4% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#cfb865',
    500: '#b49c18',
    950: '#000000',
  },
}
SCSS
$custom: #b49c18;
$custom-light: #cfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#b49c18",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 24
  },
  "hsl": {
    "h": 50.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.13775,
    "h": 97.6
  },
  "luminance": 0.33546
}

Semantic roles & 50–950 ramp

primary
#B49C18
secondary
#5B6CCD
accent
#52F335
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49C18

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

Preview Lab → · Contrast checker → · Palette generator →

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