#B5A437#B5A437

#B5A437 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.128 H 100.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B5A437
RGBrgb(181, 164, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 9.4%, 69.6%, 29%)
CIE-LABlab(67.02, -6.32, 56.17)
CIE-LCHlch(67.02, 56.53, 96.42°)
OKLaboklab(71.35% -0.0227 0.1256)
OKLCHoklch(71.35% 0.128 100.3)
XYZxyz(33.0226, 36.6520, 8.9488)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A437 #3748B5
analogous
#B56537 #B5A437 #87B537
triadic
#B5A437 #37B5A4 #A437B5
tetradic
#B5A437 #37B565 #3748B5 #B53787
square
#B5A437 #37B565 #3748B5 #B53787
split-complementary
#B5A437 #3787B5 #6537B5
monochromatic
#574F1A #867929 #B5A437 #CDBE5C #DCD18B

Accessibility & contrast

On white

2.52
#B5A437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B5A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A437
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A437#FFFFFF#000000##000000
##B5A4371.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a437;
/* rgb */ color: rgb(181, 164, 55);
/* oklch */ color: oklch(71.4% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cfbe74',
    500: '#b5a437',
    950: '#000000',
  },
}
SCSS
$custom: #b5a437;
$custom-light: #cfbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a437",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 51.905,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.1276,
    "h": 100.3
  },
  "luminance": 0.36651
}

Semantic roles & 50–950 ramp

primary
#B5A437
secondary
#828BC6
accent
#5FDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A437

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

Preview Lab → · Contrast checker → · Palette generator →

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