#B3A331#B3A331

#B3A331 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.131 H 101.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B3A331
RGBrgb(179, 163, 49)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 73%, 70%)
CMYKcmyk(0%, 8.9%, 72.6%, 29.8%)
CIE-LABlab(66.52, -6.98, 57.97)
CIE-LCHlch(66.52, 58.39, 96.86°)
OKLaboklab(70.9% -0.0251 0.1283)
OKLCHoklch(70.9% 0.131 101.1)
XYZxyz(32.2435, 36.0013, 8.1557)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A331 #3141B3
analogous
#B36231 #B3A331 #82B331
triadic
#B3A331 #31B3A3 #A331B3
tetradic
#B3A331 #31B362 #3141B3 #B33182
square
#B3A331 #31B362 #3141B3 #B33182
split-complementary
#B3A331 #3182B3 #6231B3
monochromatic
#534B17 #837724 #B3A331 #D0C052 #DDD182

Accessibility & contrast

On white

2.56
#B3A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B3A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A331
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A331#FFFFFF#000000##000000
##B3A3311.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a331;
/* rgb */ color: rgb(179, 163, 49);
/* oklch */ color: oklch(70.9% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#cdbd71',
    500: '#b3a331',
    950: '#000000',
  },
}
SCSS
$custom: #b3a331;
$custom-light: #cdbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a331",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 52.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70901,
    "c": 0.13078,
    "h": 101.1
  },
  "luminance": 0.36
}

Semantic roles & 50–950 ramp

primary
#B3A331
secondary
#7A83C6
accent
#5AE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A331

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

Preview Lab → · Contrast checker → · Palette generator →

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