#B3A532#B3A532

#B3A532 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.132 H 102.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B3A532
RGBrgb(179, 165, 50)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 70%)
CMYKcmyk(0%, 7.8%, 72.1%, 29.8%)
CIE-LABlab(67.07, -7.99, 58.13)
CIE-LCHlch(67.07, 58.67, 97.82°)
OKLaboklab(71.34% -0.0279 0.1289)
OKLCHoklch(71.34% 0.132 102.2)
XYZxyz(32.6227, 36.7257, 8.3874)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A532 #3240B3
analogous
#B36432 #B3A532 #81B332
triadic
#B3A532 #32B3A5 #A532B3
tetradic
#B3A532 #32B364 #3240B3 #B33281
square
#B3A532 #32B364 #3240B3 #B33281
split-complementary
#B3A532 #3281B3 #6432B3
monochromatic
#534D17 #837925 #B3A532 #CFC253 #DCD383

Accessibility & contrast

On white

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

On black

8.34
#B3A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A532
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A532#FFFFFF#000000##000000
##B3A5321.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#C1998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a532;
/* rgb */ color: rgb(179, 165, 50);
/* oklch */ color: oklch(71.3% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#cdbf72',
    500: '#b3a532',
    950: '#000000',
  },
}
SCSS
$custom: #b3a532;
$custom-light: #cdbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a532",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 53.488,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.13184,
    "h": 102.2
  },
  "luminance": 0.36724
}

Semantic roles & 50–950 ramp

primary
#B3A532
secondary
#7B83C6
accent
#59E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A532

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

Preview Lab → · Contrast checker → · Palette generator →

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