#B5A634#B5A634

#B5A634 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.131 H 101.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B5A634
RGBrgb(181, 166, 52)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.3%, 71.3%, 29%)
CIE-LABlab(67.54, -7.54, 57.88)
CIE-LCHlch(67.54, 58.37, 97.42°)
OKLaboklab(71.76% -0.0265 0.1286)
OKLCHoklch(71.76% 0.131 101.6)
XYZxyz(33.3136, 37.3456, 8.7018)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A634 #3443B5
analogous
#B56534 #B5A634 #83B534
triadic
#B5A634 #34B5A6 #A634B5
tetradic
#B5A634 #34B565 #3443B5 #B53483
square
#B5A634 #34B565 #3443B5 #B53483
split-complementary
#B5A634 #3483B5 #6534B5
monochromatic
#564F19 #857A26 #B5A634 #CFC157 #DCD387

Accessibility & contrast

On white

2.48
#B5A634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B5A634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A634
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A634#FFFFFF#000000##000000
##B5A6341.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a634;
/* rgb */ color: rgb(181, 166, 52);
/* oklch */ color: oklch(71.8% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#cfc073',
    500: '#b5a634',
    950: '#000000',
  },
}
SCSS
$custom: #b5a634;
$custom-light: #cfc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a634",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 53.023,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.13134,
    "h": 101.6
  },
  "luminance": 0.37344
}

Semantic roles & 50–950 ramp

primary
#B5A634
secondary
#7F87C6
accent
#5BDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A634

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

Preview Lab → · Contrast checker → · Palette generator →

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