#B4AC3E#B4AC3E

#B4AC3E is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.130 H 105.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B4AC3E
RGBrgb(180, 172, 62)
HSLhsl(56, 49%, 47%)
HSVhsv(56, 66%, 71%)
CMYKcmyk(0%, 4.4%, 65.6%, 29.4%)
CIE-LABlab(69.15, -10.56, 55.46)
CIE-LCHlch(69.15, 56.46, 100.78°)
OKLaboklab(73.05% -0.0339 0.1253)
OKLCHoklch(73.05% 0.13 105.2)
XYZxyz(34.4457, 39.5574, 10.3774)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC3E #3E46B4
analogous
#B4713E #B4AC3E #81B43E
triadic
#B4AC3E #3EB4AC #AC3EB4
tetradic
#B4AC3E #3EB471 #3E46B4 #B43E81
square
#B4AC3E #3EB471 #3E46B4 #B43E81
split-complementary
#B4AC3E #3E81B4 #713EB4
monochromatic
#59551F #86812E #B4AC3E #CAC365 #DAD593

Accessibility & contrast

On white

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

On black

8.91
#B4AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC3E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC3E#FFFFFF#000000##000000
##B4AC3E1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA630
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac3e;
/* rgb */ color: rgb(180, 172, 62);
/* oklch */ color: oklch(73.0% 0.130 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc479',
    500: '#b4ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac3e;
$custom-light: #cdc479;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac3e",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 55.932,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73045,
    "c": 0.12977,
    "h": 105.2
  },
  "luminance": 0.39556
}

Semantic roles & 50–950 ramp

primary
#B4AC3E
secondary
#898DC5
accent
#59D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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