#B4AA2E#B4AA2E

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

Color values

HEX#B4AA2E
RGBrgb(180, 170, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 5.6%, 74.4%, 29.4%)
CIE-LABlab(68.50, -10.36, 60.99)
CIE-LCHlch(68.50, 61.86, 99.64°)
OKLaboklab(72.49% -0.035 0.1341)
OKLCHoklch(72.49% 0.139 104.6)
XYZxyz(33.6917, 38.6513, 8.2700)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA2E #2E38B4
analogous
#B4672E #B4AA2E #7BB42E
triadic
#B4AA2E #2EB4AA #AA2EB4
tetradic
#B4AA2E #2EB467 #2E38B4 #B42E7B
square
#B4AA2E #2EB467 #2E38B4 #B42E7B
split-complementary
#B4AA2E #2E7BB4 #672EB4
monochromatic
#534E15 #837C22 #B4AA2E #D2C84E #DED77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA2E#FFFFFF#000000##000000
##B4AA2E1.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)
#B9A415
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C29E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa2e;
/* rgb */ color: rgb(180, 170, 46);
/* oklch */ color: oklch(72.5% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#cec370',
    500: '#b4aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa2e;
$custom-light: #cec370;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa2e",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 55.522,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.13863,
    "h": 104.6
  },
  "luminance": 0.3865
}

Semantic roles & 50–950 ramp

primary
#B4AA2E
secondary
#777DC7
accent
#51E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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