#B8AC37#B8AC37

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

Color values

HEX#B8AC37
RGBrgb(184, 172, 55)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 6.5%, 70.1%, 27.8%)
CIE-LABlab(69.45, -9.22, 58.70)
CIE-LCHlch(69.45, 59.42, 98.93°)
OKLaboklab(73.35% -0.0311 0.1308)
OKLCHoklch(73.35% 0.134 103.4)
XYZxyz(35.2108, 39.9727, 9.4745)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC37 #3743B8
analogous
#B86C37 #B8AC37 #83B837
triadic
#B8AC37 #37B8AC #AC37B8
tetradic
#B8AC37 #37B86C #3743B8 #B83783
square
#B8AC37 #37B86C #3743B8 #B83783
split-complementary
#B8AC37 #3783B8 #6C37B8
monochromatic
#5A541B #898029 #B8AC37 #CFC45D #DDD58D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AC37#FFFFFF#000000##000000
##B8AC371.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ac37;
/* rgb */ color: rgb(184, 172, 55);
/* oklch */ color: oklch(73.3% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#d1c475',
    500: '#b8ac37',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac37;
$custom-light: #d1c475;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac37",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 54.419,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73348,
    "c": 0.13445,
    "h": 103.4
  },
  "luminance": 0.39971
}

Semantic roles & 50–950 ramp

primary
#B8AC37
secondary
#848AC7
accent
#58DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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