#B8AC34#B8AC34

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

Color values

HEX#B8AC34
RGBrgb(184, 172, 52)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 72%)
CMYKcmyk(0%, 6.5%, 71.7%, 27.8%)
CIE-LABlab(69.43, -9.37, 59.83)
CIE-LCHlch(69.43, 60.56, 98.90°)
OKLaboklab(73.33% -0.0319 0.1326)
OKLCHoklch(73.33% 0.136 103.5)
XYZxyz(35.1410, 39.9448, 9.1072)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC34 #3440B8
analogous
#B86A34 #B8AC34 #82B834
triadic
#B8AC34 #34B8AC #AC34B8
tetradic
#B8AC34 #34B86A #3440B8 #B83482
square
#B8AC34 #34B86A #3440B8 #B83482
split-complementary
#B8AC34 #3482B8 #6A34B8
monochromatic
#595319 #887F27 #B8AC34 #D0C559 #DED689

Accessibility & contrast

On white

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

On black

8.99
#B8AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC34
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC34#FFFFFF#000000##000000
##B8AC341.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA620
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac34;
/* rgb */ color: rgb(184, 172, 52);
/* oklch */ color: oklch(73.3% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#d1c473',
    500: '#b8ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac34;
$custom-light: #d1c473;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac34",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 54.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73326,
    "c": 0.13642,
    "h": 103.5
  },
  "luminance": 0.39943
}

Semantic roles & 50–950 ramp

primary
#B8AC34
secondary
#8087C8
accent
#56DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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