#B7AC3C#B7AC3C

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

Color values

HEX#B7AC3C
RGBrgb(183, 172, 60)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 67%, 72%)
CMYKcmyk(0%, 6%, 67.2%, 28.2%)
CIE-LABlab(69.40, -9.38, 56.62)
CIE-LCHlch(69.40, 57.39, 99.41°)
OKLaboklab(73.3% -0.031 0.1273)
OKLCHoklch(73.3% 0.131 103.7)
XYZxyz(35.0980, 39.8999, 10.1268)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AC3C #3C47B7
analogous
#B76E3C #B7AC3C #85B73C
triadic
#B7AC3C #3CB7AC #AC3CB7
tetradic
#B7AC3C #3CB76E #3C47B7 #B73C85
square
#B7AC3C #3CB76E #3C47B7 #B73C85
split-complementary
#B7AC3C #3C85B7 #6E3CB7
monochromatic
#5B551E #89812D #B7AC3C #CCC364 #DBD592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AC3C#FFFFFF#000000##000000
##B7AC3C1.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)
#BBA62D
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#C4A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ac3c;
/* rgb */ color: rgb(183, 172, 60);
/* oklch */ color: oklch(73.3% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#d0c478',
    500: '#b7ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b7ac3c;
$custom-light: #d0c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ac3c",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 54.634,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73297,
    "c": 0.13102,
    "h": 103.7
  },
  "luminance": 0.39899
}

Semantic roles & 50–950 ramp

primary
#B7AC3C
secondary
#888EC6
accent
#5ADA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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