#B7B72A#B7B72A

#B7B72A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.153 H 109.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B7B72A
RGBrgb(183, 183, 42)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 77%, 72%)
CMYKcmyk(0%, 0%, 77%, 28.2%)
CIE-LABlab(72.30, -15.90, 65.90)
CIE-LCHlch(72.30, 67.79, 103.56°)
OKLaboklab(75.57% -0.051 0.1437)
OKLCHoklch(75.57% 0.153 109.6)
XYZxyz(36.8812, 44.1026, 8.7599)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72A #2A2AB7
analogous
#B7712A #B7B72A #71B72A
triadic
#B7B72A #2AB7B7 #B72AB7
tetradic
#B7B72A #2AB771 #2A2AB7 #B72A71
square
#B7B72A #2AB771 #2A2AB7 #B72A71
split-complementary
#B7B72A #2A71B7 #712AB7
monochromatic
#535313 #85851F #B7B72A #D5D549 #E1E17B

Accessibility & contrast

On white

2.14
#B7B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B7B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B72A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B72A#FFFFFF#000000##000000
##B7B72A1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C8B336
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b72a;
/* rgb */ color: rgb(183, 183, 42);
/* oklch */ color: oklch(75.6% 0.153 109.6);
Tailwind
colors: {
  custom: {
    50: '#d0cc70',
    500: '#b7b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72a;
$custom-light: #d0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72a",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.15252,
    "h": 109.6
  },
  "luminance": 0.44101
}

Semantic roles & 50–950 ramp

primary
#B7B72A
secondary
#7474C9
accent
#42E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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