#B4A437#B4A437

#B4A437 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.128 H 100.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B4A437
RGBrgb(180, 164, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 71%)
CMYKcmyk(0%, 8.9%, 69.4%, 29.4%)
CIE-LABlab(66.92, -6.76, 56.05)
CIE-LCHlch(66.92, 56.46, 96.88°)
OKLaboklab(71.26% -0.0239 0.1253)
OKLCHoklch(71.26% 0.128 100.8)
XYZxyz(32.7889, 36.5315, 8.9379)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A437 #3747B4
analogous
#B46537 #B4A437 #85B437
triadic
#B4A437 #37B4A4 #A437B4
tetradic
#B4A437 #37B465 #3747B4 #B43785
square
#B4A437 #37B465 #3747B4 #B43785
split-complementary
#B4A437 #3785B4 #6537B4
monochromatic
#564F1A #857929 #B4A437 #CDBE5B #DBD18A

Accessibility & contrast

On white

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

On black

8.31
#B4A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A437
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A437#FFFFFF#000000##000000
##B4A4371.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a437;
/* rgb */ color: rgb(180, 164, 55);
/* oklch */ color: oklch(71.3% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#cebe74',
    500: '#b4a437',
    950: '#000000',
  },
}
SCSS
$custom: #b4a437;
$custom-light: #cebe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a437",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 52.32,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.1276,
    "h": 100.8
  },
  "luminance": 0.3653
}

Semantic roles & 50–950 ramp

primary
#B4A437
secondary
#818AC6
accent
#5EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A437

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

Preview Lab → · Contrast checker → · Palette generator →

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