#B2A537#B2A537

#B2A537 is a light, vivid yellow. Relative luminance 0.367; 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#B2A537
RGBrgb(178, 165, 55)
HSLhsl(54, 53%, 46%)
HSVhsv(54, 69%, 70%)
CMYKcmyk(0%, 7.3%, 69.1%, 30.2%)
CIE-LABlab(67.02, -8.17, 56.09)
CIE-LCHlch(67.02, 56.68, 98.28°)
OKLaboklab(71.29% -0.0278 0.1255)
OKLCHoklch(71.29% 0.129 102.5)
XYZxyz(32.5062, 36.6524, 8.9761)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A537 #3744B2
analogous
#B26837 #B2A537 #81B237
triadic
#B2A537 #37B2A5 #A537B2
tetradic
#B2A537 #37B268 #3744B2 #B23781
square
#B2A537 #37B268 #3744B2 #B23781
split-complementary
#B2A537 #3781B2 #6837B2
monochromatic
#544E1A #837A29 #B2A537 #CCC05A #DBD289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A537#FFFFFF#000000##000000
##B2A5371.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)
#B4A027
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a537;
/* rgb */ color: rgb(178, 165, 55);
/* oklch */ color: oklch(71.3% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccbf74',
    500: '#b2a537',
    950: '#000000',
  },
}
SCSS
$custom: #b2a537;
$custom-light: #ccbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a537",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 53.659,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71286,
    "c": 0.12852,
    "h": 102.5
  },
  "luminance": 0.36651
}

Semantic roles & 50–950 ramp

primary
#B2A537
secondary
#8087C5
accent
#5BDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A537

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

Preview Lab → · Contrast checker → · Palette generator →

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