#B4AA38#B4AA38

#B4AA38 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.132 H 104.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B4AA38
RGBrgb(180, 170, 56)
HSLhsl(55, 53%, 46%)
HSVhsv(55, 69%, 71%)
CMYKcmyk(0%, 5.6%, 68.9%, 29.4%)
CIE-LABlab(68.56, -9.86, 57.30)
CIE-LCHlch(68.56, 58.15, 99.76°)
OKLaboklab(72.56% -0.0326 0.1282)
OKLCHoklch(72.56% 0.132 104.3)
XYZxyz(33.9123, 38.7396, 9.4318)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA38 #3842B4
analogous
#B46C38 #B4AA38 #80B438
triadic
#B4AA38 #38B4AA #AA38B4
tetradic
#B4AA38 #38B46C #3842B4 #B43880
square
#B4AA38 #38B46C #3842B4 #B43880
split-complementary
#B4AA38 #3880B4 #6C38B4
monochromatic
#57521B #857E29 #B4AA38 #CDC35D #DBD58B

Accessibility & contrast

On white

2.40
#B4AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B4AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA38
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA38#FFFFFF#000000##000000
##B4AA381.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#BCAA3F
Tritanopia (blue-blind)
#C19E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa38;
/* rgb */ color: rgb(180, 170, 56);
/* oklch */ color: oklch(72.6% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#cec375',
    500: '#b4aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa38;
$custom-light: #cec375;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa38",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 55.161,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.13224,
    "h": 104.3
  },
  "luminance": 0.38738
}

Semantic roles & 50–950 ramp

primary
#B4AA38
secondary
#8288C5
accent
#57DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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