#B7AC35#B7AC35

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

Color values

HEX#B7AC35
RGBrgb(183, 172, 53)
HSLhsl(55, 55%, 46%)
HSVhsv(55, 71%, 72%)
CMYKcmyk(0%, 6%, 71%, 28.2%)
CIE-LABlab(69.35, -9.76, 59.34)
CIE-LCHlch(69.35, 60.14, 99.34°)
OKLaboklab(73.24% -0.0328 0.1318)
OKLCHoklch(73.24% 0.136 104)
XYZxyz(34.9250, 39.8308, 9.2159)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC35 #3540B7
analogous
#B76B35 #B7AC35 #81B735
triadic
#B7AC35 #35B7AC #AC35B7
tetradic
#B7AC35 #35B76B #3540B7 #B73581
square
#B7AC35 #35B76B #3540B7 #B73581
split-complementary
#B7AC35 #3581B7 #6B35B7
monochromatic
#58531A #887F27 #B7AC35 #CFC55A #DDD689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC35#FFFFFF#000000##000000
##B7AC351.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)
#BBA622
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#C5A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac35;
/* rgb */ color: rgb(183, 172, 53);
/* oklch */ color: oklch(73.2% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#d0c474',
    500: '#b7ac35',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac35;
$custom-light: #d0c474;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac35",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 53
  },
  "hsl": {
    "h": 54.923,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73242,
    "c": 0.13585,
    "h": 104
  },
  "luminance": 0.39829
}

Semantic roles & 50–950 ramp

primary
#B7AC35
secondary
#8187C7
accent
#56DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC35

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

Preview Lab → · Contrast checker → · Palette generator →

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