#B49818#B49818

#B49818 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.5% C 0.135 H 95.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B49818
RGBrgb(180, 152, 24)
HSLhsl(49, 76%, 40%)
HSVhsv(49, 87%, 71%)
CMYKcmyk(0%, 15.6%, 86.7%, 29.4%)
CIE-LABlab(63.53, -1.55, 63.22)
CIE-LCHlch(63.53, 63.24, 91.41°)
OKLaboklab(68.52% -0.0121 0.1346)
OKLCHoklch(68.52% 0.135 95.1)
XYZxyz(30.2173, 32.2275, 5.4929)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49818 #1834B4
analogous
#B44A18 #B49818 #82B418
triadic
#B49818 #18B498 #9818B4
tetradic
#B49818 #18B44A #1834B4 #B41882
square
#B49818 #18B44A #1834B4 #B41882
split-complementary
#B49818 #1882B4 #4A18B4
monochromatic
#483D0A #7E6A11 #B49818 #E2C127 #E9D05D

Accessibility & contrast

On white

2.82
#B49818 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B49818 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49818
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49818#FFFFFF#000000##000000
##B498181.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#B09D23
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b49818;
/* rgb */ color: rgb(180, 152, 24);
/* oklch */ color: oklch(68.5% 0.135 95.1);
Tailwind
colors: {
  custom: {
    50: '#cfb565',
    500: '#b49818',
    950: '#000000',
  },
}
SCSS
$custom: #b49818;
$custom-light: #cfb565;
$custom-dark: #000000;
JSON
{
  "hex": "#b49818",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 24
  },
  "hsl": {
    "h": 49.231,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.13516,
    "h": 95.1
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#B49818
secondary
#5B6FCD
accent
#57F335
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49818

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

Preview Lab → · Contrast checker → · Palette generator →

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