#B8AA45#B8AA45

#B8AA45 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.122 H 101.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B8AA45
RGBrgb(184, 170, 69)
HSLhsl(53, 45%, 50%)
HSVhsv(53, 63%, 72%)
CMYKcmyk(0%, 7.6%, 62.5%, 27.8%)
CIE-LABlab(69.02, -7.34, 52.39)
CIE-LCHlch(69.02, 52.91, 97.97°)
OKLaboklab(73.04% -0.0242 0.1197)
OKLCHoklch(73.04% 0.122 101.4)
XYZxyz(35.2174, 39.3709, 11.3733)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA45 #4553B8
analogous
#B87145 #B8AA45 #8CB845
triadic
#B8AA45 #45B8AA #AA45B8
tetradic
#B8AA45 #45B871 #4553B8 #B8458C
square
#B8AA45 #45B871 #4553B8 #B8458C
split-complementary
#B8AA45 #458CB8 #7145B8
monochromatic
#5F5824 #8B8134 #B8AA45 #CABF71 #DAD39D

Accessibility & contrast

On white

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

On black

8.87
#B8AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA45
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA45#FFFFFF#000000##000000
##B8AA451.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A539
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#C59F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa45;
/* rgb */ color: rgb(184, 170, 69);
/* oklch */ color: oklch(73.0% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#d0c37d',
    500: '#b8aa45',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa45;
$custom-light: #d0c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa45",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 52.696,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.12215,
    "h": 101.4
  },
  "luminance": 0.39369
}

Semantic roles & 50–950 ramp

primary
#B8AA45
secondary
#9299C7
accent
#63D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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