#B7B32A#B7B32A

#B7B32A is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.149 H 107.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B7B32A
RGBrgb(183, 179, 42)
HSLhsl(58, 63%, 44%)
HSVhsv(58, 77%, 72%)
CMYKcmyk(0%, 2.2%, 77%, 28.2%)
CIE-LABlab(71.20, -13.86, 64.90)
CIE-LCHlch(71.20, 66.37, 102.06°)
OKLaboklab(74.69% -0.0454 0.1416)
OKLCHoklch(74.69% 0.149 107.8)
XYZxyz(36.0679, 42.4759, 8.4888)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B32A #2A2EB7
analogous
#B76D2A #B7B32A #75B72A
triadic
#B7B32A #2AB7B3 #B32AB7
tetradic
#B7B32A #2AB76D #2A2EB7 #B72A75
square
#B7B32A #2AB76D #2A2EB7 #B72A75
split-complementary
#B7B32A #2A75B7 #6D2AB7
monochromatic
#535213 #85821F #B7B32A #D5D149 #E1DE7B

Accessibility & contrast

On white

2.21
#B7B32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B7B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B32A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B32A#FFFFFF#000000##000000
##B7B32A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC03
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b32a;
/* rgb */ color: rgb(183, 179, 42);
/* oklch */ color: oklch(74.7% 0.149 107.8);
Tailwind
colors: {
  custom: {
    50: '#d0c96f',
    500: '#b7b32a',
    950: '#000000',
  },
}
SCSS
$custom: #b7b32a;
$custom-light: #d0c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b32a",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 58.298,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74695,
    "c": 0.14868,
    "h": 107.8
  },
  "luminance": 0.42475
}

Semantic roles & 50–950 ramp

primary
#B7B32A
secondary
#7476C9
accent
#47E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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