#B4A837#B4A837

#B4A837 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.131 H 103.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B4A837
RGBrgb(180, 168, 55)
HSLhsl(54, 53%, 46%)
HSVhsv(54, 69%, 71%)
CMYKcmyk(0%, 6.7%, 69.4%, 29.4%)
CIE-LABlab(68.01, -8.87, 57.15)
CIE-LCHlch(68.01, 57.83, 98.82°)
OKLaboklab(72.12% -0.0299 0.1277)
OKLCHoklch(72.12% 0.131 103.2)
XYZxyz(33.5160, 37.9858, 9.1802)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A837 #3743B4
analogous
#B46937 #B4A837 #81B437
triadic
#B4A837 #37B4A8 #A837B4
tetradic
#B4A837 #37B469 #3743B4 #B43781
square
#B4A837 #37B469 #3743B4 #B43781
split-complementary
#B4A837 #3781B4 #6937B4
monochromatic
#56501A #857C29 #B4A837 #CDC25B #DBD38A

Accessibility & contrast

On white

2.44
#B4A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B4A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A837
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A837#FFFFFF#000000##000000
##B4A8371.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a837;
/* rgb */ color: rgb(180, 168, 55);
/* oklch */ color: oklch(72.1% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#cec175',
    500: '#b4a837',
    950: '#000000',
  },
}
SCSS
$custom: #b4a837;
$custom-light: #cec175;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a837",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 54.24,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72119,
    "c": 0.13111,
    "h": 103.2
  },
  "luminance": 0.37984
}

Semantic roles & 50–950 ramp

primary
#B4A837
secondary
#8188C6
accent
#59DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A837

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

Preview Lab → · Contrast checker → · Palette generator →

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