#B3A531#B3A531

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

Color values

HEX#B3A531
RGBrgb(179, 165, 49)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 73%, 70%)
CMYKcmyk(0%, 7.8%, 72.6%, 29.8%)
CIE-LABlab(67.06, -8.03, 58.50)
CIE-LCHlch(67.06, 59.05, 97.82°)
OKLaboklab(71.33% -0.0281 0.1295)
OKLCHoklch(71.33% 0.132 102.3)
XYZxyz(32.6014, 36.7171, 8.2750)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A531 #313FB3
analogous
#B36431 #B3A531 #80B331
triadic
#B3A531 #31B3A5 #A531B3
tetradic
#B3A531 #31B364 #313FB3 #B33180
square
#B3A531 #31B364 #313FB3 #B33180
split-complementary
#B3A531 #3180B3 #6431B3
monochromatic
#534C17 #837924 #B3A531 #D0C252 #DDD382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A531#FFFFFF#000000##000000
##B3A5311.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)
#B4A01D
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#C1998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a531;
/* rgb */ color: rgb(179, 165, 49);
/* oklch */ color: oklch(71.3% 0.132 102.3);
Tailwind
colors: {
  custom: {
    50: '#cdbf71',
    500: '#b3a531',
    950: '#000000',
  },
}
SCSS
$custom: #b3a531;
$custom-light: #cdbf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a531",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 53.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71333,
    "c": 0.13248,
    "h": 102.3
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#B3A531
secondary
#7A82C6
accent
#58E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A531

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

Preview Lab → · Contrast checker → · Palette generator →

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