#B3A031#B3A031

#B3A031 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.128 H 99.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B3A031
RGBrgb(179, 160, 49)
HSLhsl(51, 57%, 45%)
HSVhsv(51, 73%, 70%)
CMYKcmyk(0%, 10.6%, 72.6%, 29.8%)
CIE-LABlab(65.71, -5.38, 57.18)
CIE-LCHlch(65.71, 57.43, 95.38°)
OKLaboklab(70.26% -0.0206 0.1267)
OKLCHoklch(70.26% 0.128 99.3)
XYZxyz(31.7171, 34.9486, 7.9802)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A031 #3144B3
analogous
#B35F31 #B3A031 #85B331
triadic
#B3A031 #31B3A0 #A031B3
tetradic
#B3A031 #31B35F #3144B3 #B33185
square
#B3A031 #31B35F #3144B3 #B33185
split-complementary
#B3A031 #3185B3 #5F31B3
monochromatic
#534A17 #837524 #B3A031 #D0BD52 #DDCF82

Accessibility & contrast

On white

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

On black

7.99
#B3A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A031
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A031#FFFFFF#000000##000000
##B3A0311.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a031;
/* rgb */ color: rgb(179, 160, 49);
/* oklch */ color: oklch(70.3% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#cdbb71',
    500: '#b3a031',
    950: '#000000',
  },
}
SCSS
$custom: #b3a031;
$custom-light: #cdbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a031",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 51.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70257,
    "c": 0.12834,
    "h": 99.3
  },
  "luminance": 0.34947
}

Semantic roles & 50–950 ramp

primary
#B3A031
secondary
#7A85C6
accent
#5EE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A031

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

Preview Lab → · Contrast checker → · Palette generator →

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