#B7AC36#B7AC36

#B7AC36 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#B7AC36
RGBrgb(183, 172, 54)
HSLhsl(55, 54%, 46%)
HSVhsv(55, 70%, 72%)
CMYKcmyk(0%, 6%, 70.5%, 28.2%)
CIE-LABlab(69.36, -9.71, 58.97)
CIE-LCHlch(69.36, 59.76, 99.35°)
OKLaboklab(73.25% -0.0326 0.1312)
OKLCHoklch(73.25% 0.135 103.9)
XYZxyz(34.9483, 39.8401, 9.3383)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC36 #3641B7
analogous
#B76C36 #B7AC36 #82B736
triadic
#B7AC36 #36B7AC #AC36B7
tetradic
#B7AC36 #36B76C #3641B7 #B73682
square
#B7AC36 #36B76C #3641B7 #B73682
split-complementary
#B7AC36 #3682B7 #6C36B7
monochromatic
#58531A #888028 #B7AC36 #CFC55B #DDD68B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC36#FFFFFF#000000##000000
##B7AC361.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)
#BBA623
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#C5A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac36;
/* rgb */ color: rgb(183, 172, 54);
/* oklch */ color: oklch(73.3% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#d0c475',
    500: '#b7ac36',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac36;
$custom-light: #d0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac36",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 54.884,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7325,
    "c": 0.13519,
    "h": 103.9
  },
  "luminance": 0.39839
}

Semantic roles & 50–950 ramp

primary
#B7AC36
secondary
#8288C7
accent
#57DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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