#B8AC3C#B8AC3C

#B8AC3C is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.131 H 103.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B8AC3C
RGBrgb(184, 172, 60)
HSLhsl(54, 51%, 48%)
HSVhsv(54, 67%, 72%)
CMYKcmyk(0%, 6.5%, 67.4%, 27.8%)
CIE-LABlab(69.49, -8.95, 56.74)
CIE-LCHlch(69.49, 57.44, 98.96°)
OKLaboklab(73.39% -0.0298 0.1275)
OKLCHoklch(73.39% 0.131 103.2)
XYZxyz(35.3367, 40.0230, 10.1380)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC3C #3C48B8
analogous
#B86E3C #B8AC3C #86B83C
triadic
#B8AC3C #3CB8AC #AC3CB8
tetradic
#B8AC3C #3CB86E #3C48B8 #B83C86
square
#B8AC3C #3CB86E #3C48B8 #B83C86
split-complementary
#B8AC3C #3C86B8 #6E3CB8
monochromatic
#5C561E #8A812D #B8AC3C #CDC365 #DCD593

Accessibility & contrast

On white

2.33
#B8AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B8AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC3C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC3C#FFFFFF#000000##000000
##B8AC3C1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac3c;
/* rgb */ color: rgb(184, 172, 60);
/* oklch */ color: oklch(73.4% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#d1c478',
    500: '#b8ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac3c;
$custom-light: #d1c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac3c",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 54.194,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.13096,
    "h": 103.2
  },
  "luminance": 0.40022
}

Semantic roles & 50–950 ramp

primary
#B8AC3C
secondary
#898FC7
accent
#5BDA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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