#B4A53F#B4A53F

#B4A53F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.123 H 100.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B4A53F
RGBrgb(180, 165, 63)
HSLhsl(52, 48%, 48%)
HSVhsv(52, 65%, 71%)
CMYKcmyk(0%, 8.3%, 65%, 29.4%)
CIE-LABlab(67.26, -6.82, 53.04)
CIE-LCHlch(67.26, 53.48, 97.33°)
OKLaboklab(71.54% -0.0232 0.1203)
OKLCHoklch(71.54% 0.123 100.9)
XYZxyz(33.1761, 36.9739, 10.0908)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A53F #3F4EB4
analogous
#B46B3F #B4A53F #88B43F
triadic
#B4A53F #3FB4A5 #A53FB4
tetradic
#B4A53F #3FB46B #3F4EB4 #B43F88
square
#B4A53F #3FB46B #3F4EB4 #B43F88
split-complementary
#B4A53F #3F88B4 #6B3FB4
monochromatic
#59521F #877B2F #B4A53F #CABD67 #DAD194

Accessibility & contrast

On white

2.50
#B4A53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B4A53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A53F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A53F#FFFFFF#000000##000000
##B4A53F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A032
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#C19A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a53f;
/* rgb */ color: rgb(180, 165, 63);
/* oklch */ color: oklch(71.5% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#cdbf79',
    500: '#b4a53f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a53f;
$custom-light: #cdbf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a53f",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 63
  },
  "hsl": {
    "h": 52.308,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.12252,
    "h": 100.9
  },
  "luminance": 0.36972
}

Semantic roles & 50–950 ramp

primary
#B4A53F
secondary
#8A91C5
accent
#61D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A53F

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

Preview Lab → · Contrast checker → · Palette generator →

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