#B49918#B49918

#B49918 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.7% C 0.136 H 95.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B49918
RGBrgb(180, 153, 24)
HSLhsl(50, 76%, 40%)
HSVhsv(50, 87%, 71%)
CMYKcmyk(0%, 15%, 86.7%, 29.4%)
CIE-LABlab(63.80, -2.09, 63.44)
CIE-LCHlch(63.80, 63.47, 91.89°)
OKLaboklab(68.73% -0.0136 0.1351)
OKLCHoklch(68.73% 0.136 95.8)
XYZxyz(30.3802, 32.5535, 5.5473)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49918 #1833B4
analogous
#B44B18 #B49918 #81B418
triadic
#B49918 #18B499 #9918B4
tetradic
#B49918 #18B44B #1833B4 #B41881
square
#B49918 #18B44B #1833B4 #B41881
split-complementary
#B49918 #1881B4 #4B18B4
monochromatic
#483D0A #7E6B11 #B49918 #E2C227 #E9D15D

Accessibility & contrast

On white

2.80
#B49918 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B49918 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49918
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49918#FFFFFF#000000##000000
##B499181.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#B19E23
Tritanopia (blue-blind)
#C38C83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49918;
/* rgb */ color: rgb(180, 153, 24);
/* oklch */ color: oklch(68.7% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#cfb665',
    500: '#b49918',
    950: '#000000',
  },
}
SCSS
$custom: #b49918;
$custom-light: #cfb665;
$custom-dark: #000000;
JSON
{
  "hex": "#b49918",
  "rgb": {
    "r": 180,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 49.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.13578,
    "h": 95.8
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B49918

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

Preview Lab → · Contrast checker → · Palette generator →

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