#B4A334#B4A334

#B4A334 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.129 H 100.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B4A334
RGBrgb(180, 163, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 71%)
CMYKcmyk(0%, 9.4%, 71.1%, 29.4%)
CIE-LABlab(66.63, -6.39, 56.95)
CIE-LCHlch(66.63, 57.31, 96.40°)
OKLaboklab(71.02% -0.0232 0.1267)
OKLCHoklch(71.02% 0.129 100.4)
XYZxyz(32.5409, 36.1471, 8.5112)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A334 #3445B4
analogous
#B46334 #B4A334 #85B434
triadic
#B4A334 #34B4A3 #A334B4
tetradic
#B4A334 #34B463 #3445B4 #B43485
square
#B4A334 #34B463 #3445B4 #B43485
split-complementary
#B4A334 #3485B4 #6334B4
monochromatic
#554D19 #857826 #B4A334 #CEBF57 #DCD186

Accessibility & contrast

On white

2.55
#B4A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B4A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A334
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A334#FFFFFF#000000##000000
##B4A3341.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a334;
/* rgb */ color: rgb(180, 163, 52);
/* oklch */ color: oklch(71.0% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#cebd73',
    500: '#b4a334',
    950: '#000000',
  },
}
SCSS
$custom: #b4a334;
$custom-light: #cebd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a334",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 52.031,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71018,
    "c": 0.12882,
    "h": 100.4
  },
  "luminance": 0.36146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4A334

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

Preview Lab → · Contrast checker → · Palette generator →

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