#B4AA2B#B4AA2B

#B4AA2B is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.140 H 104.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B4AA2B
RGBrgb(180, 170, 43)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 5.6%, 76.1%, 29.4%)
CIE-LABlab(68.48, -10.48, 62.00)
CIE-LCHlch(68.48, 62.88, 99.60°)
OKLaboklab(72.47% -0.0357 0.1357)
OKLCHoklch(72.47% 0.14 104.7)
XYZxyz(33.6346, 38.6285, 7.9694)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA2B #2B35B4
analogous
#B4652B #B4AA2B #79B42B
triadic
#B4AA2B #2BB4AA #AA2BB4
tetradic
#B4AA2B #2BB465 #2B35B4 #B42B79
square
#B4AA2B #2BB465 #2B35B4 #B42B79
split-complementary
#B4AA2B #2B79B4 #652BB4
monochromatic
#514D13 #837B1F #B4AA2B #D3C949 #DFD87A

Accessibility & contrast

On white

2.41
#B4AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B4AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA2B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA2B#FFFFFF#000000##000000
##B4AA2B1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40E
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#C29E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa2b;
/* rgb */ color: rgb(180, 170, 43);
/* oklch */ color: oklch(72.5% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#cec26f',
    500: '#b4aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa2b;
$custom-light: #cec26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa2b",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 55.62,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.14032,
    "h": 104.7
  },
  "luminance": 0.38627
}

Semantic roles & 50–950 ramp

primary
#B4AA2B
secondary
#737AC7
accent
#4FE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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