#B2A536#B2A536

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

Color values

HEX#B2A536
RGBrgb(178, 165, 54)
HSLhsl(54, 53%, 45%)
HSVhsv(54, 70%, 70%)
CMYKcmyk(0%, 7.3%, 69.7%, 30.2%)
CIE-LABlab(67.01, -8.22, 56.48)
CIE-LCHlch(67.01, 57.07, 98.28°)
OKLaboklab(71.28% -0.0281 0.1261)
OKLCHoklch(71.28% 0.129 102.5)
XYZxyz(32.4825, 36.6429, 8.8511)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A536 #3643B2
analogous
#B26736 #B2A536 #81B236
triadic
#B2A536 #36B2A5 #A536B2
tetradic
#B2A536 #36B267 #3643B2 #B23681
square
#B2A536 #36B267 #3643B2 #B23681
split-complementary
#B2A536 #3681B2 #6736B2
monochromatic
#544E1A #837928 #B2A536 #CDC059 #DBD288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A536#FFFFFF#000000##000000
##B2A5361.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)
#B4A026
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a536;
/* rgb */ color: rgb(178, 165, 54);
/* oklch */ color: oklch(71.3% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccbf74',
    500: '#b2a536',
    950: '#000000',
  },
}
SCSS
$custom: #b2a536;
$custom-light: #ccbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a536",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 53.71,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.12921,
    "h": 102.5
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#B2A536
secondary
#7F86C5
accent
#5ADD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A536

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

Preview Lab → · Contrast checker → · Palette generator →

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