#B7AC3D#B7AC3D

#B7AC3D is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.130 H 103.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B7AC3D
RGBrgb(183, 172, 61)
HSLhsl(55, 50%, 48%)
HSVhsv(55, 67%, 72%)
CMYKcmyk(0%, 6%, 66.7%, 28.2%)
CIE-LABlab(69.41, -9.32, 56.22)
CIE-LCHlch(69.41, 56.99, 99.41°)
OKLaboklab(73.31% -0.0307 0.1266)
OKLCHoklch(73.31% 0.13 103.6)
XYZxyz(35.1247, 39.9106, 10.2673)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC3D #3D48B7
analogous
#B76F3D #B7AC3D #85B73D
triadic
#B7AC3D #3DB7AC #AC3DB7
tetradic
#B7AC3D #3DB76F #3D48B7 #B73D85
square
#B7AC3D #3DB76F #3D48B7 #B73D85
split-complementary
#B7AC3D #3D85B7 #6F3DB7
monochromatic
#5B561E #89812E #B7AC3D #CCC365 #DBD593

Accessibility & contrast

On white

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

On black

8.98
#B7AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AC3D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AC3D#FFFFFF#000000##000000
##B7AC3D1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62E
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#C4A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac3d;
/* rgb */ color: rgb(183, 172, 61);
/* oklch */ color: oklch(73.3% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d0c478',
    500: '#b7ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac3d;
$custom-light: #d0c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac3d",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 54.59,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73306,
    "c": 0.13028,
    "h": 103.6
  },
  "luminance": 0.39909
}

Semantic roles & 50–950 ramp

primary
#B7AC3D
secondary
#898FC6
accent
#5BDA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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