#B4A434#B4A434

#B4A434 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.130 H 101.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B4A434
RGBrgb(180, 164, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.9%, 71.1%, 29.4%)
CIE-LABlab(66.90, -6.92, 57.22)
CIE-LCHlch(66.90, 57.64, 96.89°)
OKLaboklab(71.23% -0.0247 0.1273)
OKLCHoklch(71.23% 0.13 101)
XYZxyz(32.7192, 36.5036, 8.5706)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A434 #3444B4
analogous
#B46434 #B4A434 #84B434
triadic
#B4A434 #34B4A4 #A434B4
tetradic
#B4A434 #34B464 #3444B4 #B43484
square
#B4A434 #34B464 #3444B4 #B43484
split-complementary
#B4A434 #3484B4 #6434B4
monochromatic
#554D19 #857926 #B4A434 #CEBF57 #DCD186

Accessibility & contrast

On white

2.53
#B4A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B4A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A434
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A434#FFFFFF#000000##000000
##B4A4341.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#C2988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a434;
/* rgb */ color: rgb(180, 164, 52);
/* oklch */ color: oklch(71.2% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#cebe73',
    500: '#b4a434',
    950: '#000000',
  },
}
SCSS
$custom: #b4a434;
$custom-light: #cebe73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a434",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 52.5,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.12966,
    "h": 101
  },
  "luminance": 0.36502
}

Semantic roles & 50–950 ramp

primary
#B4A434
secondary
#7E87C6
accent
#5CDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A434

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

Preview Lab → · Contrast checker → · Palette generator →

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