#B4A337#B4A337

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

Color values

HEX#B4A337
RGBrgb(180, 163, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 71%)
CMYKcmyk(0%, 9.4%, 69.4%, 29.4%)
CIE-LABlab(66.65, -6.23, 55.78)
CIE-LCHlch(66.65, 56.13, 96.37°)
OKLaboklab(71.04% -0.0224 0.1248)
OKLCHoklch(71.04% 0.127 100.2)
XYZxyz(32.6106, 36.1750, 8.8784)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A337 #3748B4
analogous
#B46437 #B4A337 #86B437
triadic
#B4A337 #37B4A3 #A337B4
tetradic
#B4A337 #37B464 #3748B4 #B43786
square
#B4A337 #37B464 #3748B4 #B43786
split-complementary
#B4A337 #3786B4 #6437B4
monochromatic
#564E1A #857929 #B4A337 #CDBD5B #DBD08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A337#FFFFFF#000000##000000
##B4A3371.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)
#B29E28
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a337;
/* rgb */ color: rgb(180, 163, 55);
/* oklch */ color: oklch(71.0% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#cebd74',
    500: '#b4a337',
    950: '#000000',
  },
}
SCSS
$custom: #b4a337;
$custom-light: #cebd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a337",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 51.84,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71041,
    "c": 0.12676,
    "h": 100.2
  },
  "luminance": 0.36174
}

Semantic roles & 50–950 ramp

primary
#B4A337
secondary
#818BC6
accent
#5FDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A337

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

Preview Lab → · Contrast checker → · Palette generator →

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