#B7B72C#B7B72C

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

Color values

HEX#B7B72C
RGBrgb(183, 183, 44)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0%, 76%, 28.2%)
CIE-LABlab(72.31, -15.82, 65.28)
CIE-LCHlch(72.31, 67.17, 103.62°)
OKLaboklab(75.58% -0.0507 0.1428)
OKLCHoklch(75.58% 0.152 109.5)
XYZxyz(36.9179, 44.1172, 8.9532)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72C #2C2CB7
analogous
#B7722C #B7B72C #72B72C
triadic
#B7B72C #2CB7B7 #B72CB7
tetradic
#B7B72C #2CB772 #2C2CB7 #B72C72
square
#B7B72C #2CB772 #2C2CB7 #B72C72
split-complementary
#B7B72C #2C72B7 #722CB7
monochromatic
#545414 #868620 #B7B72C #D4D44C #E0E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B72C#FFFFFF#000000##000000
##B7B72C1.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)
#C6AF06
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b72c;
/* rgb */ color: rgb(183, 183, 44);
/* oklch */ color: oklch(75.6% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc71',
    500: '#b7b72c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72c;
$custom-light: #d0cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72c",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75584,
    "c": 0.1515,
    "h": 109.5
  },
  "luminance": 0.44116
}

Semantic roles & 50–950 ramp

primary
#B7B72C
secondary
#7676C8
accent
#43E443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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