#B49418#B49418

#B49418 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.7% C 0.133 H 92.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B49418
RGBrgb(180, 148, 24)
HSLhsl(48, 76%, 40%)
HSVhsv(48, 87%, 71%)
CMYKcmyk(0%, 17.8%, 86.7%, 29.4%)
CIE-LABlab(62.47, 0.62, 62.35)
CIE-LCHlch(62.47, 62.36, 89.43°)
OKLaboklab(67.67% -0.006 0.1327)
OKLCHoklch(67.67% 0.133 92.6)
XYZxyz(29.5790, 30.9509, 5.2802)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49418 #1838B4
analogous
#B44618 #B49418 #86B418
triadic
#B49418 #18B494 #9418B4
tetradic
#B49418 #18B446 #1838B4 #B41886
square
#B49418 #18B446 #1838B4 #B41886
split-complementary
#B49418 #1886B4 #4618B4
monochromatic
#483B0A #7E6811 #B49418 #E2BC27 #E9CD5D

Accessibility & contrast

On white

2.92
#B49418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B49418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49418
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49418#FFFFFF#000000##000000
##B494181.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#AD9B22
Tritanopia (blue-blind)
#C3877E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b49418;
/* rgb */ color: rgb(180, 148, 24);
/* oklch */ color: oklch(67.7% 0.133 92.6);
Tailwind
colors: {
  custom: {
    50: '#cfb364',
    500: '#b49418',
    950: '#000000',
  },
}
SCSS
$custom: #b49418;
$custom-light: #cfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#b49418",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 24
  },
  "hsl": {
    "h": 47.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.13282,
    "h": 92.6
  },
  "luminance": 0.30949
}

Semantic roles & 50–950 ramp

primary
#B49418
secondary
#5B72CD
accent
#5CF335
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49418

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

Preview Lab → · Contrast checker → · Palette generator →

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