#B4AA3F#B4AA3F

#B4AA3F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.127 H 104.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B4AA3F
RGBrgb(180, 170, 63)
HSLhsl(55, 48%, 48%)
HSVhsv(55, 65%, 71%)
CMYKcmyk(0%, 5.6%, 65%, 29.4%)
CIE-LABlab(68.62, -9.45, 54.47)
CIE-LCHlch(68.62, 55.29, 99.85°)
OKLaboklab(72.62% -0.0307 0.1233)
OKLCHoklch(72.62% 0.127 104)
XYZxyz(34.0956, 38.8129, 10.3973)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA3F #3F49B4
analogous
#B4703F #B4AA3F #83B43F
triadic
#B4AA3F #3FB4AA #AA3FB4
tetradic
#B4AA3F #3FB470 #3F49B4 #B43F83
square
#B4AA3F #3FB470 #3F49B4 #B43F83
split-complementary
#B4AA3F #3F83B4 #703FB4
monochromatic
#59541F #877F2F #B4AA3F #CAC167 #DAD494

Accessibility & contrast

On white

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

On black

8.76
#B4AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA3F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA3F#FFFFFF#000000##000000
##B4AA3F1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A431
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa3f;
/* rgb */ color: rgb(180, 170, 63);
/* oklch */ color: oklch(72.6% 0.127 104.0);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b4aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa3f;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa3f",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 54.872,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.12709,
    "h": 104
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#B4AA3F
secondary
#8A8FC5
accent
#5CD850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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