#B4A734#B4A734

#B4A734 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.132 H 102.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B4A734
RGBrgb(180, 167, 52)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 7.2%, 71.1%, 29.4%)
CIE-LABlab(67.72, -8.50, 58.03)
CIE-LCHlch(67.72, 58.65, 98.33°)
OKLaboklab(71.88% -0.0292 0.129)
OKLCHoklch(71.88% 0.132 102.8)
XYZxyz(33.2624, 37.5901, 8.7517)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A734 #3441B4
analogous
#B46734 #B4A734 #81B434
triadic
#B4A734 #34B4A7 #A734B4
tetradic
#B4A734 #34B467 #3441B4 #B43481
square
#B4A734 #34B467 #3441B4 #B43481
split-complementary
#B4A734 #3481B4 #6734B4
monochromatic
#554F19 #857B26 #B4A734 #CEC257 #DCD386

Accessibility & contrast

On white

2.47
#B4A734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B4A734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A734
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A734#FFFFFF#000000##000000
##B4A7341.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A222
Deuteranopia (green-blind)
#BAA83C
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a734;
/* rgb */ color: rgb(180, 167, 52);
/* oklch */ color: oklch(71.9% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#cec073',
    500: '#b4a734',
    950: '#000000',
  },
}
SCSS
$custom: #b4a734;
$custom-light: #cec073;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a734",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 52
  },
  "hsl": {
    "h": 53.906,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7188,
    "c": 0.13224,
    "h": 102.8
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#B4A734
secondary
#7E85C6
accent
#58DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A734

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

Preview Lab → · Contrast checker → · Palette generator →

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