#B7B73A#B7B73A

#B7B73A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.143 H 109.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B7B73A
RGBrgb(183, 183, 58)
HSLhsl(60, 52%, 47%)
HSVhsv(60, 68%, 72%)
CMYKcmyk(0%, 0%, 68.3%, 28.2%)
CIE-LABlab(72.39, -15.16, 60.45)
CIE-LCHlch(72.39, 62.32, 104.08°)
OKLaboklab(75.68% -0.0475 0.135)
OKLCHoklch(75.68% 0.143 109.4)
XYZxyz(37.2269, 44.2408, 10.5805)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B73A #3A3AB7
analogous
#B7793A #B7B73A #79B73A
triadic
#B7B73A #3AB7B7 #B73AB7
tetradic
#B7B73A #3AB779 #3A3AB7 #B73A79
square
#B7B73A #3AB779 #3A3AB7 #B73A79
split-complementary
#B7B73A #3A79B7 #793AB7
monochromatic
#5A5A1D #89892B #B7B73A #CDCD61 #DCDC90

Accessibility & contrast

On white

2.13
#B7B73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B7B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B73A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B73A#FFFFFF#000000##000000
##B7B73A1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF27
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#C4AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b73a;
/* rgb */ color: rgb(183, 183, 58);
/* oklch */ color: oklch(75.7% 0.143 109.4);
Tailwind
colors: {
  custom: {
    50: '#d0cc78',
    500: '#b7b73a',
    950: '#000000',
  },
}
SCSS
$custom: #b7b73a;
$custom-light: #d0cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b73a",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75676,
    "c": 0.14314,
    "h": 109.4
  },
  "luminance": 0.4424
}

Semantic roles & 50–950 ramp

primary
#B7B73A
secondary
#8686C7
accent
#4CDB4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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