#B5A236#B5A236

#B5A236 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.127 H 99.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B5A236
RGBrgb(181, 162, 54)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 10.5%, 70.2%, 29%)
CIE-LABlab(66.47, -5.31, 56.03)
CIE-LCHlch(66.47, 56.28, 95.42°)
OKLaboklab(70.91% -0.02 0.1251)
OKLCHoklch(70.91% 0.127 99.1)
XYZxyz(32.6438, 35.9323, 8.7055)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A236 #3649B5
analogous
#B56236 #B5A236 #88B536
triadic
#B5A236 #36B5A2 #A236B5
tetradic
#B5A236 #36B562 #3649B5 #B53688
square
#B5A236 #36B562 #3649B5 #B53688
split-complementary
#B5A236 #3688B5 #6236B5
monochromatic
#574E1A #867828 #B5A236 #CEBD5A #DCD089

Accessibility & contrast

On white

2.57
#B5A236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B5A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A236
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A236#FFFFFF#000000##000000
##B5A2361.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C3968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a236;
/* rgb */ color: rgb(181, 162, 54);
/* oklch */ color: oklch(70.9% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b5a236',
    950: '#000000',
  },
}
SCSS
$custom: #b5a236;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a236",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 51.024,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.12666,
    "h": 99.1
  },
  "luminance": 0.35931
}

Semantic roles & 50–950 ramp

primary
#B5A236
secondary
#818BC6
accent
#60DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A236

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

Preview Lab → · Contrast checker → · Palette generator →

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