#B49218#B49218

#B49218 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.3% C 0.132 H 91.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B49218
RGBrgb(180, 146, 24)
HSLhsl(47, 76%, 40%)
HSVhsv(47, 87%, 71%)
CMYKcmyk(0%, 18.9%, 86.7%, 29.4%)
CIE-LABlab(61.94, 1.71, 61.92)
CIE-LCHlch(61.94, 61.94, 88.42°)
OKLaboklab(67.26% -0.0029 0.1317)
OKLCHoklch(67.26% 0.132 91.3)
XYZxyz(29.2680, 30.3289, 5.1765)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49218 #183AB4
analogous
#B44418 #B49218 #88B418
triadic
#B49218 #18B492 #9218B4
tetradic
#B49218 #18B444 #183AB4 #B41888
square
#B49218 #18B444 #183AB4 #B41888
split-complementary
#B49218 #1888B4 #4418B4
monochromatic
#483A0A #7E6611 #B49218 #E2B927 #E9CB5D

Accessibility & contrast

On white

2.97
#B49218 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B49218 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49218
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49218#FFFFFF#000000##000000
##B492181.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#AC9A22
Tritanopia (blue-blind)
#C4857D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49218;
/* rgb */ color: rgb(180, 146, 24);
/* oklch */ color: oklch(67.3% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#cfb164',
    500: '#b49218',
    950: '#000000',
  },
}
SCSS
$custom: #b49218;
$custom-light: #cfb164;
$custom-dark: #000000;
JSON
{
  "hex": "#b49218",
  "rgb": {
    "r": 180,
    "g": 146,
    "b": 24
  },
  "hsl": {
    "h": 46.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67256,
    "c": 0.13176,
    "h": 91.3
  },
  "luminance": 0.30327
}

Semantic roles & 50–950 ramp

primary
#B49218
secondary
#5B74CD
accent
#5EF335
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49218

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

Preview Lab → · Contrast checker → · Palette generator →

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