#B8AC3D#B8AC3D

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

Color values

HEX#B8AC3D
RGBrgb(184, 172, 61)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 67%, 72%)
CMYKcmyk(0%, 6.5%, 66.8%, 27.8%)
CIE-LABlab(69.49, -8.89, 56.34)
CIE-LCHlch(69.49, 57.03, 98.97°)
OKLaboklab(73.4% -0.0295 0.1268)
OKLCHoklch(73.4% 0.13 103.1)
XYZxyz(35.3634, 40.0337, 10.2785)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC3D #3D49B8
analogous
#B86E3D #B8AC3D #87B83D
triadic
#B8AC3D #3DB8AC #AC3DB8
tetradic
#B8AC3D #3DB86E #3D49B8 #B83D87
square
#B8AC3D #3DB86E #3D49B8 #B83D87
split-complementary
#B8AC3D #3D87B8 #6E3DB8
monochromatic
#5C561F #8A812E #B8AC3D #CCC266 #DBD594

Accessibility & contrast

On white

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

On black

9.01
#B8AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC3D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC3D#FFFFFF#000000##000000
##B8AC3D1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ac3d;
/* rgb */ color: rgb(184, 172, 61);
/* oklch */ color: oklch(73.4% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#d0c478',
    500: '#b8ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac3d;
$custom-light: #d0c478;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac3d",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 54.146,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73397,
    "c": 0.13022,
    "h": 103.1
  },
  "luminance": 0.40032
}

Semantic roles & 50–950 ramp

primary
#B8AC3D
secondary
#8A90C7
accent
#5CDA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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