#B4A52C#B4A52C

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

Color values

HEX#B4A52C
RGBrgb(180, 165, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 8.3%, 75.6%, 29.4%)
CIE-LABlab(67.12, -7.82, 60.39)
CIE-LCHlch(67.12, 60.90, 97.38°)
OKLaboklab(71.39% -0.0281 0.1325)
OKLCHoklch(71.39% 0.135 102)
XYZxyz(32.7337, 36.7969, 7.7607)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A52C #2C3BB4
analogous
#B4612C #B4A52C #7FB42C
triadic
#B4A52C #2CB4A5 #A52CB4
tetradic
#B4A52C #2CB461 #2C3BB4 #B42C7F
square
#B4A52C #2CB461 #2C3BB4 #B42C7F
split-complementary
#B4A52C #2C7FB4 #612CB4
monochromatic
#524B14 #837820 #B4A52C #D3C44A #DFD47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A52C#FFFFFF#000000##000000
##B4A52C1.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)
#B5A013
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#C2998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a52c;
/* rgb */ color: rgb(180, 165, 44);
/* oklch */ color: oklch(71.4% 0.135 102.0);
Tailwind
colors: {
  custom: {
    50: '#cebf6f',
    500: '#b4a52c',
    950: '#000000',
  },
}
SCSS
$custom: #b4a52c;
$custom-light: #cebf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a52c",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 53.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71393,
    "c": 0.13543,
    "h": 102
  },
  "luminance": 0.36795
}

Semantic roles & 50–950 ramp

primary
#B4A52C
secondary
#757EC7
accent
#56E444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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