#B49518#B49518

#B49518 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.9% C 0.133 H 93.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B49518
RGBrgb(180, 149, 24)
HSLhsl(48, 76%, 40%)
HSVhsv(48, 87%, 71%)
CMYKcmyk(0%, 17.2%, 86.7%, 29.4%)
CIE-LABlab(62.73, 0.07, 62.57)
CIE-LCHlch(62.73, 62.57, 89.93°)
OKLaboklab(67.88% -0.0075 0.1332)
OKLCHoklch(67.88% 0.133 93.2)
XYZxyz(29.7365, 31.2660, 5.3327)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49518 #1837B4
analogous
#B44718 #B49518 #85B418
triadic
#B49518 #18B495 #9518B4
tetradic
#B49518 #18B447 #1837B4 #B41885
square
#B49518 #18B447 #1837B4 #B41885
split-complementary
#B49518 #1885B4 #4718B4
monochromatic
#483C0A #7E6811 #B49518 #E2BD27 #E9CE5D

Accessibility & contrast

On white

2.90
#B49518 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B49518 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49518
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49518#FFFFFF#000000##000000
##B495181.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79200
Deuteranopia (green-blind)
#AE9C22
Tritanopia (blue-blind)
#C3887F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b49518;
/* rgb */ color: rgb(180, 149, 24);
/* oklch */ color: oklch(67.9% 0.133 93.2);
Tailwind
colors: {
  custom: {
    50: '#cfb364',
    500: '#b49518',
    950: '#000000',
  },
}
SCSS
$custom: #b49518;
$custom-light: #cfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#b49518",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 48.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67883,
    "c": 0.13338,
    "h": 93.2
  },
  "luminance": 0.31264
}

Semantic roles & 50–950 ramp

primary
#B49518
secondary
#5B71CD
accent
#5BF335
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49518

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

Preview Lab → · Contrast checker → · Palette generator →

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