#B5AA35#B5AA35

#B5AA35 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.134 H 103.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B5AA35
RGBrgb(181, 170, 53)
HSLhsl(55, 55%, 46%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 6.1%, 70.7%, 29%)
CIE-LABlab(68.63, -9.58, 58.57)
CIE-LCHlch(68.63, 59.35, 99.29°)
OKLaboklab(72.63% -0.0322 0.1303)
OKLCHoklch(72.63% 0.134 103.9)
XYZxyz(34.0748, 38.8316, 9.0678)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA35 #3540B5
analogous
#B56A35 #B5AA35 #80B535
triadic
#B5AA35 #35B5AA #AA35B5
tetradic
#B5AA35 #35B56A #3540B5 #B53580
square
#B5AA35 #35B56A #3540B5 #B53580
split-complementary
#B5AA35 #3580B5 #6A35B5
monochromatic
#565119 #867E27 #B5AA35 #CEC459 #DCD588

Accessibility & contrast

On white

2.40
#B5AA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B5AA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA35
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA35#FFFFFF#000000##000000
##B5AA351.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A422
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#C39E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5aa35;
/* rgb */ color: rgb(181, 170, 53);
/* oklch */ color: oklch(72.6% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#cfc374',
    500: '#b5aa35',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa35;
$custom-light: #cfc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa35",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 53
  },
  "hsl": {
    "h": 54.844,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72628,
    "c": 0.13419,
    "h": 103.9
  },
  "luminance": 0.3883
}

Semantic roles & 50–950 ramp

primary
#B5AA35
secondary
#8086C6
accent
#56DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA35

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

Preview Lab → · Contrast checker → · Palette generator →

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