#B3A131#B3A131

#B3A131 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.129 H 99.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B3A131
RGBrgb(179, 161, 49)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 73%, 70%)
CMYKcmyk(0%, 10.1%, 72.6%, 29.8%)
CIE-LABlab(65.98, -5.92, 57.44)
CIE-LCHlch(65.98, 57.75, 95.88°)
OKLaboklab(70.47% -0.0221 0.1272)
OKLCHoklch(70.47% 0.129 99.9)
XYZxyz(31.8912, 35.2967, 8.0383)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A131 #3143B3
analogous
#B36031 #B3A131 #84B331
triadic
#B3A131 #31B3A1 #A131B3
tetradic
#B3A131 #31B360 #3143B3 #B33184
square
#B3A131 #31B360 #3143B3 #B33184
split-complementary
#B3A131 #3184B3 #6031B3
monochromatic
#534B17 #837624 #B3A131 #D0BE52 #DDD082

Accessibility & contrast

On white

2.61
#B3A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B3A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A131
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A131#FFFFFF#000000##000000
##B3A1311.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#C1958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a131;
/* rgb */ color: rgb(179, 161, 49);
/* oklch */ color: oklch(70.5% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#cdbc71',
    500: '#b3a131',
    950: '#000000',
  },
}
SCSS
$custom: #b3a131;
$custom-light: #cdbc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a131",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 51.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70471,
    "c": 0.12914,
    "h": 99.9
  },
  "luminance": 0.35295
}

Semantic roles & 50–950 ramp

primary
#B3A131
secondary
#7A84C6
accent
#5DE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A131

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

Preview Lab → · Contrast checker → · Palette generator →

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