#B7B32F#B7B32F

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

Color values

HEX#B7B32F
RGBrgb(183, 179, 47)
HSLhsl(58, 59%, 45%)
HSVhsv(58, 74%, 72%)
CMYKcmyk(0%, 2.2%, 74.3%, 28.2%)
CIE-LABlab(71.22, -13.66, 63.30)
CIE-LCHlch(71.22, 64.75, 102.17°)
OKLaboklab(74.72% -0.0443 0.1391)
OKLCHoklch(74.72% 0.146 107.7)
XYZxyz(36.1630, 42.5139, 8.9899)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B32F #2F33B7
analogous
#B76F2F #B7B32F #77B72F
triadic
#B7B32F #2FB7B3 #B32FB7
tetradic
#B7B32F #2FB76F #2F33B7 #B72F77
square
#B7B32F #2FB76F #2F33B7 #B72F77
split-complementary
#B7B32F #2F77B7 #6F2FB7
monochromatic
#565416 #868322 #B7B32F #D2CE51 #DFDC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B32F#FFFFFF#000000##000000
##B7B32F1.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)
#C2AC13
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C4A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b32f;
/* rgb */ color: rgb(183, 179, 47);
/* oklch */ color: oklch(74.7% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c972',
    500: '#b7b32f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b32f;
$custom-light: #d0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b32f",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 58.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74724,
    "c": 0.14601,
    "h": 107.7
  },
  "luminance": 0.42513
}

Semantic roles & 50–950 ramp

primary
#B7B32F
secondary
#7A7CC8
accent
#4AE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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