#B5AA3A#B5AA3A

#B5AA3A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.131 H 103.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B5AA3A
RGBrgb(181, 170, 58)
HSLhsl(55, 51%, 47%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 6.1%, 68%, 29%)
CIE-LABlab(68.66, -9.32, 56.63)
CIE-LCHlch(68.66, 57.39, 99.34°)
OKLaboklab(72.67% -0.0309 0.1271)
OKLCHoklch(72.67% 0.131 103.7)
XYZxyz(34.1959, 38.8800, 9.7055)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA3A #3A45B5
analogous
#B56D3A #B5AA3A #83B53A
triadic
#B5AA3A #3AB5AA #AA3AB5
tetradic
#B5AA3A #3AB56D #3A45B5 #B53A83
square
#B5AA3A #3AB56D #3A45B5 #B53A83
split-complementary
#B5AA3A #3A83B5 #6D3AB5
monochromatic
#58531C #877E2B #B5AA3A #CCC260 #DBD48E

Accessibility & contrast

On white

2.39
#B5AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B5AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA3A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA3A#FFFFFF#000000##000000
##B5AA3A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42A
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#C29E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa3a;
/* rgb */ color: rgb(181, 170, 58);
/* oklch */ color: oklch(72.7% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec377',
    500: '#b5aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa3a;
$custom-light: #cec377;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa3a",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 54.634,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72667,
    "c": 0.13076,
    "h": 103.7
  },
  "luminance": 0.38879
}

Semantic roles & 50–950 ramp

primary
#B5AA3A
secondary
#858BC6
accent
#5ADB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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