#B3A631#B3A631

#B3A631 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.133 H 102.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B3A631
RGBrgb(179, 166, 49)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 73%, 70%)
CMYKcmyk(0%, 7.3%, 72.6%, 29.8%)
CIE-LABlab(67.34, -8.56, 58.76)
CIE-LCHlch(67.34, 59.38, 98.29°)
OKLaboklab(71.55% -0.0296 0.13)
OKLCHoklch(71.55% 0.133 102.8)
XYZxyz(32.7824, 37.0793, 8.3354)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A631 #313EB3
analogous
#B36531 #B3A631 #7FB331
triadic
#B3A631 #31B3A6 #A631B3
tetradic
#B3A631 #31B365 #313EB3 #B3317F
square
#B3A631 #31B365 #313EB3 #B3317F
split-complementary
#B3A631 #317FB3 #6531B3
monochromatic
#534D17 #837924 #B3A631 #D0C352 #DDD482

Accessibility & contrast

On white

2.50
#B3A631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B3A631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A631
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A631#FFFFFF#000000##000000
##B3A6311.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11D
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#C19A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b3a631;
/* rgb */ color: rgb(179, 166, 49);
/* oklch */ color: oklch(71.5% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#cdc071',
    500: '#b3a631',
    950: '#000000',
  },
}
SCSS
$custom: #b3a631;
$custom-light: #cdc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a631",
  "rgb": {
    "r": 179,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 54,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.13335,
    "h": 102.8
  },
  "luminance": 0.37078
}

Semantic roles & 50–950 ramp

primary
#B3A631
secondary
#7A82C6
accent
#57E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A631

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

Preview Lab → · Contrast checker → · Palette generator →

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