#B7B72B#B7B72B

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

Color values

HEX#B7B72B
RGBrgb(183, 183, 43)
HSLhsl(60, 62%, 44%)
HSVhsv(60, 77%, 72%)
CMYKcmyk(0%, 0%, 76.5%, 28.2%)
CIE-LABlab(72.30, -15.86, 65.59)
CIE-LCHlch(72.30, 67.48, 103.59°)
OKLaboklab(75.58% -0.0509 0.1432)
OKLCHoklch(75.58% 0.152 109.5)
XYZxyz(36.8994, 44.1098, 8.8553)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72B #2B2BB7
analogous
#B7712B #B7B72B #71B72B
triadic
#B7B72B #2BB7B7 #B72BB7
tetradic
#B7B72B #2BB771 #2B2BB7 #B72B71
square
#B7B72B #2BB771 #2B2BB7 #B72B71
split-complementary
#B7B72B #2B71B7 #712BB7
monochromatic
#545414 #85851F #B7B72B #D5D54B #E0E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B72B#FFFFFF#000000##000000
##B7B72B1.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)
#C6AF03
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b72b;
/* rgb */ color: rgb(183, 183, 43);
/* oklch */ color: oklch(75.6% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc70',
    500: '#b7b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72b;
$custom-light: #d0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72b",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75579,
    "c": 0.15201,
    "h": 109.5
  },
  "luminance": 0.44109
}

Semantic roles & 50–950 ramp

primary
#B7B72B
secondary
#7575C9
accent
#43E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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