#B8AA2E#B8AA2E

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

Color values

HEX#B8AA2E
RGBrgb(184, 170, 46)
HSLhsl(54, 60%, 45%)
HSVhsv(54, 75%, 72%)
CMYKcmyk(0%, 7.6%, 75%, 27.8%)
CIE-LABlab(68.85, -8.60, 61.45)
CIE-LCHlch(68.85, 62.05, 97.97°)
OKLaboklab(72.85% -0.0303 0.1349)
OKLCHoklch(72.85% 0.138 102.7)
XYZxyz(34.6366, 39.1386, 8.3143)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA2E #2E3CB8
analogous
#B8652E #B8AA2E #81B82E
triadic
#B8AA2E #2EB8AA #AA2EB8
tetradic
#B8AA2E #2EB865 #2E3CB8 #B82E81
square
#B8AA2E #2EB865 #2E3CB8 #B82E81
split-complementary
#B8AA2E #2E81B8 #652EB8
monochromatic
#565016 #877D22 #B8AA2E #D3C650 #DFD681

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AA2E#FFFFFF#000000##000000
##B8AA2E1.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)
#BAA415
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa2e;
/* rgb */ color: rgb(184, 170, 46);
/* oklch */ color: oklch(72.9% 0.138 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c270',
    500: '#b8aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa2e;
$custom-light: #d1c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa2e",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 53.913,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.13831,
    "h": 102.7
  },
  "luminance": 0.39137
}

Semantic roles & 50–950 ramp

primary
#B8AA2E
secondary
#7981C8
accent
#55E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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