#B5A536#B5A536

#B5A536 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.129 H 100.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B5A536
RGBrgb(181, 165, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 8.8%, 70.2%, 29%)
CIE-LABlab(67.28, -6.90, 56.84)
CIE-LCHlch(67.28, 57.26, 96.93°)
OKLaboklab(71.56% -0.0245 0.1268)
OKLCHoklch(71.56% 0.129 100.9)
XYZxyz(33.1785, 37.0018, 8.8837)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A536 #3646B5
analogous
#B56536 #B5A536 #85B536
triadic
#B5A536 #36B5A5 #A536B5
tetradic
#B5A536 #36B565 #3646B5 #B53685
square
#B5A536 #36B565 #3646B5 #B53685
split-complementary
#B5A536 #3685B5 #6536B5
monochromatic
#574F1A #867A28 #B5A536 #CEBF5A #DCD289

Accessibility & contrast

On white

2.50
#B5A536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B5A536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A536
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A536#FFFFFF#000000##000000
##B5A5361.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A025
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#C3998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a536;
/* rgb */ color: rgb(181, 165, 54);
/* oklch */ color: oklch(71.6% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#cfbf74',
    500: '#b5a536',
    950: '#000000',
  },
}
SCSS
$custom: #b5a536;
$custom-light: #cfbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a536",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 52.441,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.12914,
    "h": 100.9
  },
  "luminance": 0.37
}

Semantic roles & 50–950 ramp

primary
#B5A536
secondary
#8189C6
accent
#5DDD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A536

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

Preview Lab → · Contrast checker → · Palette generator →

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