#B7B72E#B7B72E

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

Color values

HEX#B7B72E
RGBrgb(183, 183, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0%, 74.9%, 28.2%)
CIE-LABlab(72.32, -15.74, 64.65)
CIE-LCHlch(72.32, 66.54, 103.68°)
OKLaboklab(75.6% -0.0503 0.1418)
OKLCHoklch(75.6% 0.15 109.5)
XYZxyz(36.9564, 44.1326, 9.1560)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72E #2E2EB7
analogous
#B7732E #B7B72E #73B72E
triadic
#B7B72E #2EB7B7 #B72EB7
tetradic
#B7B72E #2EB773 #2E2EB7 #B72E73
square
#B7B72E #2EB773 #2E2EB7 #B72E73
split-complementary
#B7B72E #2E73B7 #732EB7
monochromatic
#555515 #868622 #B7B72E #D3D34F #DFDF80

Accessibility & contrast

On white

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

On black

9.83
#B7B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B72E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B72E#FFFFFF#000000##000000
##B7B72E1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b72e;
/* rgb */ color: rgb(183, 183, 46);
/* oklch */ color: oklch(75.6% 0.150 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc72',
    500: '#b7b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72e;
$custom-light: #d0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72e",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75596,
    "c": 0.15043,
    "h": 109.5
  },
  "luminance": 0.44132
}

Semantic roles & 50–950 ramp

primary
#B7B72E
secondary
#7979C8
accent
#45E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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