#B4A237#B4A237

#B4A237 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.126 H 99.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B4A237
RGBrgb(180, 162, 55)
HSLhsl(51, 53%, 46%)
HSVhsv(51, 69%, 71%)
CMYKcmyk(0%, 10%, 69.4%, 29.4%)
CIE-LABlab(66.38, -5.70, 55.51)
CIE-LCHlch(66.38, 55.80, 95.86°)
OKLaboklab(70.83% -0.0209 0.1242)
OKLCHoklch(70.83% 0.126 99.6)
XYZxyz(32.4338, 35.8213, 8.8195)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A237 #3749B4
analogous
#B46337 #B4A237 #87B437
triadic
#B4A237 #37B4A2 #A237B4
tetradic
#B4A237 #37B463 #3749B4 #B43787
square
#B4A237 #37B463 #3749B4 #B43787
split-complementary
#B4A237 #3787B4 #6337B4
monochromatic
#564E1A #857829 #B4A237 #CDBD5B #DBD08A

Accessibility & contrast

On white

2.57
#B4A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B4A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A237
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A237#FFFFFF#000000##000000
##B4A2371.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E28
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C2968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a237;
/* rgb */ color: rgb(180, 162, 55);
/* oklch */ color: oklch(70.8% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#cebd74',
    500: '#b4a237',
    950: '#000000',
  },
}
SCSS
$custom: #b4a237;
$custom-light: #cebd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a237",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 51.36,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.12593,
    "h": 99.6
  },
  "luminance": 0.3582
}

Semantic roles & 50–950 ramp

primary
#B4A237
secondary
#818BC6
accent
#60DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A237

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

Preview Lab → · Contrast checker → · Palette generator →

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