#B8AA2D#B8AA2D

#B8AA2D is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.139 H 102.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B8AA2D
RGBrgb(184, 170, 45)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 76%, 72%)
CMYKcmyk(0%, 7.6%, 75.5%, 27.8%)
CIE-LABlab(68.85, -8.64, 61.79)
CIE-LCHlch(68.85, 62.39, 97.96°)
OKLaboklab(72.85% -0.0305 0.1355)
OKLCHoklch(72.85% 0.139 102.7)
XYZxyz(34.6171, 39.1308, 8.2117)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA2D #2D3BB8
analogous
#B8652D #B8AA2D #80B82D
triadic
#B8AA2D #2DB8AA #AA2DB8
tetradic
#B8AA2D #2DB865 #2D3BB8 #B82D80
square
#B8AA2D #2DB865 #2D3BB8 #B82D80
split-complementary
#B8AA2D #2D80B8 #652DB8
monochromatic
#564F15 #877D21 #B8AA2D #D4C64E #E0D680

Accessibility & contrast

On white

2.38
#B8AA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B8AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA2D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA2D#FFFFFF#000000##000000
##B8AA2D1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA413
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa2d;
/* rgb */ color: rgb(184, 170, 45);
/* oklch */ color: oklch(72.8% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c270',
    500: '#b8aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa2d;
$custom-light: #d1c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa2d",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 53.957,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.13888,
    "h": 102.7
  },
  "luminance": 0.39129
}

Semantic roles & 50–950 ramp

primary
#B8AA2D
secondary
#7880C9
accent
#54E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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