#B7AC37#B7AC37

#B7AC37 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.135 H 103.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B7AC37
RGBrgb(183, 172, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 72%)
CMYKcmyk(0%, 6%, 69.9%, 28.2%)
CIE-LABlab(69.36, -9.65, 58.59)
CIE-LCHlch(69.36, 59.38, 99.36°)
OKLaboklab(73.26% -0.0323 0.1306)
OKLCHoklch(73.26% 0.135 103.9)
XYZxyz(34.9720, 39.8495, 9.4633)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC37 #3742B7
analogous
#B76C37 #B7AC37 #82B737
triadic
#B7AC37 #37B7AC #AC37B7
tetradic
#B7AC37 #37B76C #3742B7 #B73782
square
#B7AC37 #37B76C #3742B7 #B73782
split-complementary
#B7AC37 #3782B7 #6C37B7
monochromatic
#59541B #888029 #B7AC37 #CEC55D #DCD68C

Accessibility & contrast

On white

2.34
#B7AC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B7AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC37
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC37#FFFFFF#000000##000000
##B7AC371.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#C5A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac37;
/* rgb */ color: rgb(183, 172, 55);
/* oklch */ color: oklch(73.3% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#d0c475',
    500: '#b7ac37',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac37;
$custom-light: #d0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac37",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 54.844,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73257,
    "c": 0.13453,
    "h": 103.9
  },
  "luminance": 0.39848
}

Semantic roles & 50–950 ramp

primary
#B7AC37
secondary
#8389C7
accent
#57DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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