#B7AC2C#B7AC2C

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

Color values

HEX#B7AC2C
RGBrgb(183, 172, 44)
HSLhsl(55, 61%, 45%)
HSVhsv(55, 76%, 72%)
CMYKcmyk(0%, 6%, 76%, 28.2%)
CIE-LABlab(69.30, -10.17, 62.51)
CIE-LCHlch(69.30, 63.33, 99.24°)
OKLaboklab(73.18% -0.0348 0.1369)
OKLCHoklch(73.18% 0.141 104.3)
XYZxyz(34.7371, 39.7556, 8.2262)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC2C #2C37B7
analogous
#B7672C #B7AC2C #7CB72C
triadic
#B7AC2C #2CB7AC #AC2CB7
tetradic
#B7AC2C #2CB767 #2C37B7 #B72C7C
square
#B7AC2C #2CB767 #2C37B7 #B72C7C
split-complementary
#B7AC2C #2C7CB7 #672CB7
monochromatic
#544F14 #867E20 #B7AC2C #D4C94C #E0D87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC2C#FFFFFF#000000##000000
##B7AC2C1.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)
#BCA60F
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#C5A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac2c;
/* rgb */ color: rgb(183, 172, 44);
/* oklch */ color: oklch(73.2% 0.141 104.3);
Tailwind
colors: {
  custom: {
    50: '#d0c46f',
    500: '#b7ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac2c;
$custom-light: #d0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac2c",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 55.252,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73182,
    "c": 0.14124,
    "h": 104.3
  },
  "luminance": 0.39754
}

Semantic roles & 50–950 ramp

primary
#B7AC2C
secondary
#767DC8
accent
#50E443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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