#B2A32D#B2A32D

#B2A32D is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.133 H 101.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B2A32D
RGBrgb(178, 163, 45)
HSLhsl(53, 60%, 44%)
HSVhsv(53, 75%, 70%)
CMYKcmyk(0%, 8.4%, 74.7%, 30.2%)
CIE-LABlab(66.41, -7.61, 59.30)
CIE-LCHlch(66.41, 59.79, 97.31°)
OKLaboklab(70.78% -0.0273 0.1304)
OKLCHoklch(70.78% 0.133 101.8)
XYZxyz(31.9324, 35.8503, 7.7199)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A32D #2D3CB2
analogous
#B2602D #B2A32D #7EB22D
triadic
#B2A32D #2DB2A3 #A32DB2
tetradic
#B2A32D #2DB260 #2D3CB2 #B22D7E
square
#B2A32D #2DB260 #2D3CB2 #B22D7E
split-complementary
#B2A32D #2D7EB2 #602DB2
monochromatic
#504A14 #817621 #B2A32D #D1C24B #DED37C

Accessibility & contrast

On white

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

On black

8.17
#B2A32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A32D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A32D#FFFFFF#000000##000000
##B2A32D1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E16
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#C0978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a32d;
/* rgb */ color: rgb(178, 163, 45);
/* oklch */ color: oklch(70.8% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#cdbd6f',
    500: '#b2a32d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a32d;
$custom-light: #cdbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a32d",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 53.233,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.13326,
    "h": 101.8
  },
  "luminance": 0.35849
}

Semantic roles & 50–950 ramp

primary
#B2A32D
secondary
#757EC6
accent
#57E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A32D

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

Preview Lab → · Contrast checker → · Palette generator →

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