#B5AA34#B5AA34

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

Color values

HEX#B5AA34
RGBrgb(181, 170, 52)
HSLhsl(55, 55%, 46%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 6.1%, 71.3%, 29%)
CIE-LABlab(68.62, -9.64, 58.95)
CIE-LCHlch(68.62, 59.73, 99.28°)
OKLaboklab(72.62% -0.0324 0.1309)
OKLCHoklch(72.62% 0.135 103.9)
XYZxyz(34.0520, 38.8225, 8.9480)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA34 #343FB5
analogous
#B56934 #B5AA34 #7FB534
triadic
#B5AA34 #34B5AA #AA34B5
tetradic
#B5AA34 #34B569 #343FB5 #B5347F
square
#B5AA34 #34B569 #343FB5 #B5347F
split-complementary
#B5AA34 #347FB5 #6934B5
monochromatic
#565119 #857D26 #B5AA34 #CFC557 #DCD587

Accessibility & contrast

On white

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

On black

8.76
#B5AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA34
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA34#FFFFFF#000000##000000
##B5AA341.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5aa34;
/* rgb */ color: rgb(181, 170, 52);
/* oklch */ color: oklch(72.6% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#cfc373',
    500: '#b5aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa34;
$custom-light: #cfc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa34",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 54.884,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.13485,
    "h": 103.9
  },
  "luminance": 0.38821
}

Semantic roles & 50–950 ramp

primary
#B5AA34
secondary
#7F85C6
accent
#56DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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