#B3A431#B3A431

#B3A431 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.132 H 101.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B3A431
RGBrgb(179, 164, 49)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 73%, 70%)
CMYKcmyk(0%, 8.4%, 72.6%, 29.8%)
CIE-LABlab(66.79, -7.51, 58.23)
CIE-LCHlch(66.79, 58.72, 97.35°)
OKLaboklab(71.12% -0.0266 0.1289)
OKLCHoklch(71.12% 0.132 101.7)
XYZxyz(32.4217, 36.3578, 8.2151)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A431 #3140B3
analogous
#B36331 #B3A431 #81B331
triadic
#B3A431 #31B3A4 #A431B3
tetradic
#B3A431 #31B363 #3140B3 #B33181
square
#B3A431 #31B363 #3140B3 #B33181
split-complementary
#B3A431 #3181B3 #6331B3
monochromatic
#534C17 #837824 #B3A431 #D0C152 #DDD282

Accessibility & contrast

On white

2.54
#B3A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B3A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A431
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A431#FFFFFF#000000##000000
##B3A4311.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a431;
/* rgb */ color: rgb(179, 164, 49);
/* oklch */ color: oklch(71.1% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#cdbe71',
    500: '#b3a431',
    950: '#000000',
  },
}
SCSS
$custom: #b3a431;
$custom-light: #cdbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a431",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 53.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.13162,
    "h": 101.7
  },
  "luminance": 0.36356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3A431

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

Preview Lab → · Contrast checker → · Palette generator →

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