#B4A52B#B4A52B

#B4A52B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.136 H 102.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B4A52B
RGBrgb(180, 165, 43)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 8.3%, 76.1%, 29.4%)
CIE-LABlab(67.12, -7.86, 60.73)
CIE-LCHlch(67.12, 61.24, 97.38°)
OKLaboklab(71.39% -0.0283 0.133)
OKLCHoklch(71.39% 0.136 102)
XYZxyz(32.7151, 36.7895, 7.6629)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A52B #2B3AB4
analogous
#B4602B #B4A52B #7EB42B
triadic
#B4A52B #2BB4A5 #A52BB4
tetradic
#B4A52B #2BB460 #2B3AB4 #B42B7E
square
#B4A52B #2BB460 #2B3AB4 #B42B7E
split-complementary
#B4A52B #2B7EB4 #602BB4
monochromatic
#514A13 #83781F #B4A52B #D3C449 #DFD47A

Accessibility & contrast

On white

2.51
#B4A52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B4A52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A52B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A52B#FFFFFF#000000##000000
##B4A52B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A011
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#C2998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a52b;
/* rgb */ color: rgb(180, 165, 43);
/* oklch */ color: oklch(71.4% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#cebf6e',
    500: '#b4a52b',
    950: '#000000',
  },
}
SCSS
$custom: #b4a52b;
$custom-light: #cebf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a52b",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 53.431,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.136,
    "h": 102
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#B4A52B
secondary
#737DC7
accent
#55E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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