#B4A11C#B4A11C

#B4A11C is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.140 H 100.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B4A11C
RGBrgb(180, 161, 28)
HSLhsl(53, 73%, 41%)
HSVhsv(53, 84%, 71%)
CMYKcmyk(0%, 10.6%, 84.4%, 29.4%)
CIE-LABlab(65.96, -6.27, 64.23)
CIE-LCHlch(65.96, 64.54, 95.57°)
OKLaboklab(70.45% -0.0251 0.1376)
OKLCHoklch(70.45% 0.14 100.3)
XYZxyz(31.7785, 35.2785, 6.2339)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A11C #1C2FB4
analogous
#B4551C #B4A11C #7BB41C
triadic
#B4A11C #1CB4A1 #A11CB4
tetradic
#B4A11C #1CB455 #1C2FB4 #B41C7B
square
#B4A11C #1CB455 #1C2FB4 #B41C7B
split-complementary
#B4A11C #1C7BB4 #551CB4
monochromatic
#4A420C #7F7214 #B4A11C #DFC92F #E7D664

Accessibility & contrast

On white

2.61
#B4A11C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B4A11C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A11C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A11C#FFFFFF#000000##000000
##B4A11C1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B7A328
Tritanopia (blue-blind)
#C39489
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a11c;
/* rgb */ color: rgb(180, 161, 28);
/* oklch */ color: oklch(70.4% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#cfbc67',
    500: '#b4a11c',
    950: '#000000',
  },
}
SCSS
$custom: #b4a11c;
$custom-light: #cfbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a11c",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 52.5,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70448,
    "c": 0.13988,
    "h": 100.3
  },
  "luminance": 0.35277
}

Semantic roles & 50–950 ramp

primary
#B4A11C
secondary
#606ECC
accent
#4FF038
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B4A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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