#B7B32C#B7B32C

#B7B32C 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#B7B32C
RGBrgb(183, 179, 44)
HSLhsl(58, 61%, 45%)
HSVhsv(58, 76%, 72%)
CMYKcmyk(0%, 2.2%, 76%, 28.2%)
CIE-LABlab(71.21, -13.78, 64.28)
CIE-LCHlch(71.21, 65.74, 102.10°)
OKLaboklab(74.71% -0.045 0.1406)
OKLCHoklch(74.71% 0.148 107.7)
XYZxyz(36.1046, 42.4906, 8.6820)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B32C #2C30B7
analogous
#B76D2C #B7B32C #76B72C
triadic
#B7B32C #2CB7B3 #B32CB7
tetradic
#B7B32C #2CB76D #2C30B7 #B72C76
square
#B7B32C #2CB76D #2C30B7 #B72C76
split-complementary
#B7B32C #2C76B7 #6D2CB7
monochromatic
#545214 #868320 #B7B32C #D4D04C #E0DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B32C#FFFFFF#000000##000000
##B7B32C1.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)
#C2AC0A
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b32c;
/* rgb */ color: rgb(183, 179, 44);
/* oklch */ color: oklch(74.7% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c970',
    500: '#b7b32c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b32c;
$custom-light: #d0c970;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b32c",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 44
  },
  "hsl": {
    "h": 58.273,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74707,
    "c": 0.14765,
    "h": 107.7
  },
  "luminance": 0.42489
}

Semantic roles & 50–950 ramp

primary
#B7B32C
secondary
#7679C8
accent
#48E443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B32C

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

Preview Lab → · Contrast checker → · Palette generator →

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