#B8AA38#B8AA38

#B8AA38 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.132 H 102.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B8AA38
RGBrgb(184, 170, 56)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 7.6%, 69.6%, 27.8%)
CIE-LABlab(68.92, -8.12, 57.77)
CIE-LCHlch(68.92, 58.34, 98.00°)
OKLaboklab(72.93% -0.0279 0.129)
OKLCHoklch(72.93% 0.132 102.2)
XYZxyz(34.8572, 39.2268, 9.4761)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA38 #3846B8
analogous
#B86A38 #B8AA38 #86B838
triadic
#B8AA38 #38B8AA #AA38B8
tetradic
#B8AA38 #38B86A #3846B8 #B83886
square
#B8AA38 #38B86A #3846B8 #B83886
split-complementary
#B8AA38 #3886B8 #6A38B8
monochromatic
#5A531B #897F2A #B8AA38 #CEC25F #DDD48E

Accessibility & contrast

On white

2.37
#B8AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B8AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA38
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA38#FFFFFF#000000##000000
##B8AA381.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A527
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#C69E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa38;
/* rgb */ color: rgb(184, 170, 56);
/* oklch */ color: oklch(72.9% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#d1c375',
    500: '#b8aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa38;
$custom-light: #d1c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa38",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 53.438,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.132,
    "h": 102.2
  },
  "luminance": 0.39225
}

Semantic roles & 50–950 ramp

primary
#B8AA38
secondary
#858CC7
accent
#5BDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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