#B4A11B#B4A11B

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

Color values

HEX#B4A11B
RGBrgb(180, 161, 27)
HSLhsl(53, 74%, 41%)
HSVhsv(53, 85%, 71%)
CMYKcmyk(0%, 10.6%, 85%, 29.4%)
CIE-LABlab(65.96, -6.29, 64.48)
CIE-LCHlch(65.96, 64.79, 95.57°)
OKLaboklab(70.44% -0.0252 0.138)
OKLCHoklch(70.44% 0.14 100.4)
XYZxyz(31.7667, 35.2738, 6.1720)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A11B #1B2EB4
analogous
#B4541B #B4A11B #7AB41B
triadic
#B4A11B #1BB4A1 #A11BB4
tetradic
#B4A11B #1BB454 #1B2EB4 #B41B7A
square
#B4A11B #1BB454 #1B2EB4 #B41B7A
split-complementary
#B4A11B #1B7AB4 #541BB4
monochromatic
#4A420B #7F7113 #B4A11B #DFC92D #E7D762

Accessibility & contrast

On white

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

On black

8.05
#B4A11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A11B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A11B#FFFFFF#000000##000000
##B4A11B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a11b;
/* rgb */ color: rgb(180, 161, 27);
/* oklch */ color: oklch(70.4% 0.140 100.4);
Tailwind
colors: {
  custom: {
    50: '#cfbc67',
    500: '#b4a11b',
    950: '#000000',
  },
}
SCSS
$custom: #b4a11b;
$custom-light: #cfbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a11b",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 52.549,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.14026,
    "h": 100.4
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#B4A11B
secondary
#5F6CCC
accent
#4EF137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B4A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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