#B2A037#B2A037

#B2A037 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.124 H 99.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B2A037
RGBrgb(178, 160, 55)
HSLhsl(51, 53%, 46%)
HSVhsv(51, 69%, 70%)
CMYKcmyk(0%, 10.1%, 69.1%, 30.2%)
CIE-LABlab(65.66, -5.51, 54.71)
CIE-LCHlch(65.66, 54.99, 95.76°)
OKLaboklab(70.21% -0.0203 0.1226)
OKLCHoklch(70.21% 0.124 99.4)
XYZxyz(31.6219, 34.8839, 8.6813)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A037 #3749B2
analogous
#B26337 #B2A037 #86B237
triadic
#B2A037 #37B2A0 #A037B2
tetradic
#B2A037 #37B263 #3749B2 #B23786
square
#B2A037 #37B263 #3749B2 #B23786
split-complementary
#B2A037 #3786B2 #6337B2
monochromatic
#544C1A #837629 #B2A037 #CCBB5A #DBCF89

Accessibility & contrast

On white

2.63
#B2A037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B2A037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A037
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A037#FFFFFF#000000##000000
##B2A0371.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C28
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#C0948B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a037;
/* rgb */ color: rgb(178, 160, 55);
/* oklch */ color: oklch(70.2% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#ccbb74',
    500: '#b2a037',
    950: '#000000',
  },
}
SCSS
$custom: #b2a037;
$custom-light: #ccbb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a037",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 51.22,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.12423,
    "h": 99.4
  },
  "luminance": 0.34882
}

Semantic roles & 50–950 ramp

primary
#B2A037
secondary
#808AC5
accent
#61DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A037

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

Preview Lab → · Contrast checker → · Palette generator →

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