#B2A137#B2A137

#B2A137 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.125 H 100.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B2A137
RGBrgb(178, 161, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 70%)
CMYKcmyk(0%, 9.6%, 69.1%, 30.2%)
CIE-LABlab(65.93, -6.05, 54.98)
CIE-LCHlch(65.93, 55.32, 96.28°)
OKLaboklab(70.42% -0.0218 0.1232)
OKLCHoklch(70.42% 0.125 100)
XYZxyz(31.7960, 35.2320, 8.7393)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A137 #3748B2
analogous
#B26337 #B2A137 #85B237
triadic
#B2A137 #37B2A1 #A137B2
tetradic
#B2A137 #37B263 #3748B2 #B23785
square
#B2A137 #37B263 #3748B2 #B23785
split-complementary
#B2A137 #3785B2 #6337B2
monochromatic
#544C1A #837729 #B2A137 #CCBC5A #DBCF89

Accessibility & contrast

On white

2.61
#B2A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B2A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A137
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A137#FFFFFF#000000##000000
##B2A1371.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a137;
/* rgb */ color: rgb(178, 161, 55);
/* oklch */ color: oklch(70.4% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#ccbc74',
    500: '#b2a137',
    950: '#000000',
  },
}
SCSS
$custom: #b2a137;
$custom-light: #ccbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a137",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 51.707,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.12506,
    "h": 100
  },
  "luminance": 0.35231
}

Semantic roles & 50–950 ramp

primary
#B2A137
secondary
#808AC5
accent
#60DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A137

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

Preview Lab → · Contrast checker → · Palette generator →

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