#B49018#B49018

#B49018 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.8% C 0.131 H 89.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B49018
RGBrgb(180, 144, 24)
HSLhsl(46, 76%, 40%)
HSVhsv(46, 87%, 71%)
CMYKcmyk(0%, 20%, 86.7%, 29.4%)
CIE-LABlab(61.41, 2.80, 61.49)
CIE-LCHlch(61.41, 61.55, 87.39°)
OKLaboklab(66.84% 0.0002 0.1308)
OKLCHoklch(66.84% 0.131 89.9)
XYZxyz(28.9624, 29.7177, 5.0746)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49018 #183CB4
analogous
#B44218 #B49018 #8AB418
triadic
#B49018 #18B490 #9018B4
tetradic
#B49018 #18B442 #183CB4 #B4188A
square
#B49018 #18B442 #183CB4 #B4188A
split-complementary
#B49018 #188AB4 #4218B4
monochromatic
#483A0A #7E6511 #B49018 #E2B727 #E9C95D

Accessibility & contrast

On white

3.02
#B49018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B49018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B49018
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49018#FFFFFF#000000##000000
##B490181.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#AB9821
Tritanopia (blue-blind)
#C4837B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b49018;
/* rgb */ color: rgb(180, 144, 24);
/* oklch */ color: oklch(66.8% 0.131 89.9);
Tailwind
colors: {
  custom: {
    50: '#cfb063',
    500: '#b49018',
    950: '#000000',
  },
}
SCSS
$custom: #b49018;
$custom-light: #cfb063;
$custom-dark: #000000;
JSON
{
  "hex": "#b49018",
  "rgb": {
    "r": 180,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 46.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.13077,
    "h": 89.9
  },
  "luminance": 0.29716
}

Semantic roles & 50–950 ramp

primary
#B49018
secondary
#5B75CD
accent
#61F335
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49018

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

Preview Lab → · Contrast checker → · Palette generator →

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