#B4AC2E#B4AC2E

#B4AC2E is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.140 H 105.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B4AC2E
RGBrgb(180, 172, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 4.4%, 74.4%, 29.4%)
CIE-LABlab(69.05, -11.40, 61.50)
CIE-LCHlch(69.05, 62.55, 100.50°)
OKLaboklab(72.92% -0.0379 0.1352)
OKLCHoklch(72.92% 0.14 105.7)
XYZxyz(34.0695, 39.4069, 8.3959)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2E #2E36B4
analogous
#B4692E #B4AC2E #79B42E
triadic
#B4AC2E #2EB4AC #AC2EB4
tetradic
#B4AC2E #2EB469 #2E36B4 #B42E79
square
#B4AC2E #2EB469 #2E36B4 #B42E79
split-complementary
#B4AC2E #2E79B4 #692EB4
monochromatic
#534F15 #837D22 #B4AC2E #D2CA4E #DED87E

Accessibility & contrast

On white

2.36
#B4AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B4AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC2E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC2E#FFFFFF#000000##000000
##B4AC2E1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA614
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac2e;
/* rgb */ color: rgb(180, 172, 46);
/* oklch */ color: oklch(72.9% 0.140 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec470',
    500: '#b4ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2e;
$custom-light: #cec470;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2e",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 56.418,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72924,
    "c": 0.14045,
    "h": 105.7
  },
  "luminance": 0.39406
}

Semantic roles & 50–950 ramp

primary
#B4AC2E
secondary
#777CC7
accent
#4FE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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