#B4AA3E#B4AA3E

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

Color values

HEX#B4AA3E
RGBrgb(180, 170, 62)
HSLhsl(55, 49%, 47%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 5.6%, 65.6%, 29.4%)
CIE-LABlab(68.61, -9.52, 54.89)
CIE-LCHlch(68.61, 55.71, 99.83°)
OKLaboklab(72.61% -0.031 0.1241)
OKLCHoklch(72.61% 0.128 104)
XYZxyz(34.0679, 38.8018, 10.2515)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA3E #3E48B4
analogous
#B46F3E #B4AA3E #83B43E
triadic
#B4AA3E #3EB4AA #AA3EB4
tetradic
#B4AA3E #3EB46F #3E48B4 #B43E83
square
#B4AA3E #3EB46F #3E48B4 #B43E83
split-complementary
#B4AA3E #3E83B4 #6F3EB4
monochromatic
#59541F #867F2E #B4AA3E #CAC165 #DAD493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA3E#FFFFFF#000000##000000
##B4AA3E1.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)
#B9A430
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa3e;
/* rgb */ color: rgb(180, 170, 62);
/* oklch */ color: oklch(72.6% 0.128 104.0);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b4aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa3e;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa3e",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 54.915,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72611,
    "c": 0.12786,
    "h": 104
  },
  "luminance": 0.38801
}

Semantic roles & 50–950 ramp

primary
#B4AA3E
secondary
#898EC5
accent
#5BD84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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