#B8AC38#B8AC38

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

Color values

HEX#B8AC38
RGBrgb(184, 172, 56)
HSLhsl(54, 53%, 47%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 6.5%, 69.6%, 27.8%)
CIE-LABlab(69.46, -9.17, 58.32)
CIE-LCHlch(69.46, 59.03, 98.93°)
OKLaboklab(73.36% -0.0309 0.1302)
OKLCHoklch(73.36% 0.134 103.3)
XYZxyz(35.2350, 39.9823, 9.6020)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC38 #3844B8
analogous
#B86C38 #B8AC38 #84B838
triadic
#B8AC38 #38B8AC #AC38B8
tetradic
#B8AC38 #38B86C #3844B8 #B83884
square
#B8AC38 #38B86C #3844B8 #B83884
split-complementary
#B8AC38 #3884B8 #6C38B8
monochromatic
#5A541B #89802A #B8AC38 #CEC45F #DDD58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AC38#FFFFFF#000000##000000
##B8AC381.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)
#BBA627
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac38;
/* rgb */ color: rgb(184, 172, 56);
/* oklch */ color: oklch(73.4% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#d1c476',
    500: '#b8ac38',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac38;
$custom-light: #d1c476;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac38",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 54.375,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73356,
    "c": 0.13377,
    "h": 103.3
  },
  "luminance": 0.39981
}

Semantic roles & 50–950 ramp

primary
#B8AC38
secondary
#858BC7
accent
#59DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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