#B7AC2B#B7AC2B

#B7AC2B 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#B7AC2B
RGBrgb(183, 172, 43)
HSLhsl(55, 62%, 44%)
HSVhsv(55, 77%, 72%)
CMYKcmyk(0%, 6%, 76.5%, 28.2%)
CIE-LABlab(69.29, -10.21, 62.84)
CIE-LCHlch(69.29, 63.66, 99.23°)
OKLaboklab(73.18% -0.035 0.1374)
OKLCHoklch(73.18% 0.142 104.3)
XYZxyz(34.7185, 39.7482, 8.1284)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC2B #2B36B7
analogous
#B7662B #B7AC2B #7CB72B
triadic
#B7AC2B #2BB7AC #AC2BB7
tetradic
#B7AC2B #2BB766 #2B36B7 #B72B7C
square
#B7AC2B #2BB766 #2B36B7 #B72B7C
split-complementary
#B7AC2B #2B7CB7 #662BB7
monochromatic
#544F14 #857D1F #B7AC2B #D5CA4B #E0D87C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC2B#FFFFFF#000000##000000
##B7AC2B1.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)
#BCA60C
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#C5A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac2b;
/* rgb */ color: rgb(183, 172, 43);
/* oklch */ color: oklch(73.2% 0.142 104.3);
Tailwind
colors: {
  custom: {
    50: '#d0c46f',
    500: '#b7ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac2b;
$custom-light: #d0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac2b",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 55.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73177,
    "c": 0.14178,
    "h": 104.3
  },
  "luminance": 0.39747
}

Semantic roles & 50–950 ramp

primary
#B7AC2B
secondary
#757CC9
accent
#50E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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