#B7B32B#B7B32B

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

Color values

HEX#B7B32B
RGBrgb(183, 179, 43)
HSLhsl(58, 62%, 44%)
HSVhsv(58, 77%, 72%)
CMYKcmyk(0%, 2.2%, 76.5%, 28.2%)
CIE-LABlab(71.20, -13.82, 64.59)
CIE-LCHlch(71.20, 66.05, 102.08°)
OKLaboklab(74.7% -0.0452 0.1411)
OKLCHoklch(74.7% 0.148 107.7)
XYZxyz(36.0860, 42.4831, 8.5842)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B32B #2B2FB7
analogous
#B76D2B #B7B32B #75B72B
triadic
#B7B32B #2BB7B3 #B32BB7
tetradic
#B7B32B #2BB76D #2B2FB7 #B72B75
square
#B7B32B #2BB76D #2B2FB7 #B72B75
split-complementary
#B7B32B #2B75B7 #6D2BB7
monochromatic
#545214 #85831F #B7B32B #D5D14B #E0DD7C

Accessibility & contrast

On white

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

On black

9.50
#B7B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B32B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B32B#FFFFFF#000000##000000
##B7B32B1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b32b;
/* rgb */ color: rgb(183, 179, 43);
/* oklch */ color: oklch(74.7% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c970',
    500: '#b7b32b',
    950: '#000000',
  },
}
SCSS
$custom: #b7b32b;
$custom-light: #d0c970;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b32b",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 58.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74701,
    "c": 0.14817,
    "h": 107.7
  },
  "luminance": 0.42482
}

Semantic roles & 50–950 ramp

primary
#B7B32B
secondary
#7578C9
accent
#47E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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