#B7AC2A#B7AC2A

#B7AC2A is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.142 H 104.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B7AC2A
RGBrgb(183, 172, 42)
HSLhsl(55, 63%, 44%)
HSVhsv(55, 77%, 72%)
CMYKcmyk(0%, 6%, 77%, 28.2%)
CIE-LABlab(69.28, -10.25, 63.16)
CIE-LCHlch(69.28, 63.99, 99.22°)
OKLaboklab(73.17% -0.0353 0.1379)
OKLCHoklch(73.17% 0.142 104.3)
XYZxyz(34.7004, 39.7409, 8.0330)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC2A #2A35B7
analogous
#B7662A #B7AC2A #7CB72A
triadic
#B7AC2A #2AB7AC #AC2AB7
tetradic
#B7AC2A #2AB766 #2A35B7 #B72A7C
square
#B7AC2A #2AB766 #2A35B7 #B72A7C
split-complementary
#B7AC2A #2A7CB7 #662AB7
monochromatic
#534E13 #857D1F #B7AC2A #D5CA49 #E1D97B

Accessibility & contrast

On white

2.35
#B7AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B7AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC2A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC2A#FFFFFF#000000##000000
##B7AC2A1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA609
Deuteranopia (green-blind)
#BFAC34
Tritanopia (blue-blind)
#C5A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac2a;
/* rgb */ color: rgb(183, 172, 42);
/* oklch */ color: oklch(73.2% 0.142 104.3);
Tailwind
colors: {
  custom: {
    50: '#d0c46f',
    500: '#b7ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac2a;
$custom-light: #d0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac2a",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 55.319,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73171,
    "c": 0.14232,
    "h": 104.3
  },
  "luminance": 0.39739
}

Semantic roles & 50–950 ramp

primary
#B7AC2A
secondary
#747BC9
accent
#4FE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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