#B5A436#B5A436

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

Color values

HEX#B5A436
RGBrgb(181, 164, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 9.4%, 70.2%, 29%)
CIE-LABlab(67.01, -6.38, 56.57)
CIE-LCHlch(67.01, 56.93, 96.43°)
OKLaboklab(71.34% -0.023 0.1262)
OKLCHoklch(71.34% 0.128 100.3)
XYZxyz(32.9989, 36.6425, 8.8239)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A436 #3647B5
analogous
#B56436 #B5A436 #86B536
triadic
#B5A436 #36B5A4 #A436B5
tetradic
#B5A436 #36B564 #3647B5 #B53686
square
#B5A436 #36B564 #3647B5 #B53686
split-complementary
#B5A436 #3686B5 #6436B5
monochromatic
#574F1A #867928 #B5A436 #CEBE5A #DCD189

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A436#FFFFFF#000000##000000
##B5A4361.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)
#B39F26
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a436;
/* rgb */ color: rgb(181, 164, 54);
/* oklch */ color: oklch(71.3% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cfbe74',
    500: '#b5a436',
    950: '#000000',
  },
}
SCSS
$custom: #b5a436;
$custom-light: #cfbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a436",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 54
  },
  "hsl": {
    "h": 51.969,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71342,
    "c": 0.1283,
    "h": 100.3
  },
  "luminance": 0.36641
}

Semantic roles & 50–950 ramp

primary
#B5A436
secondary
#818AC6
accent
#5EDD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A436

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

Preview Lab → · Contrast checker → · Palette generator →

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