#B7B72F#B7B72F

#B7B72F 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#B7B72F
RGBrgb(183, 183, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0%, 74.3%, 28.2%)
CIE-LABlab(72.32, -15.69, 64.32)
CIE-LCHlch(72.32, 66.21, 103.71°)
OKLaboklab(75.6% -0.05 0.1413)
OKLCHoklch(75.6% 0.15 109.5)
XYZxyz(36.9764, 44.1406, 9.2610)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72F #2F2FB7
analogous
#B7732F #B7B72F #73B72F
triadic
#B7B72F #2FB7B7 #B72FB7
tetradic
#B7B72F #2FB773 #2F2FB7 #B72F73
square
#B7B72F #2FB773 #2F2FB7 #B72F73
split-complementary
#B7B72F #2F73B7 #732FB7
monochromatic
#565616 #868622 #B7B72F #D2D251 #DFDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B72F#FFFFFF#000000##000000
##B7B72F1.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)
#C6AF10
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b72f;
/* rgb */ color: rgb(183, 183, 47);
/* oklch */ color: oklch(75.6% 0.150 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc72',
    500: '#b7b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72f;
$custom-light: #d0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72f",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75602,
    "c": 0.14989,
    "h": 109.5
  },
  "luminance": 0.44139
}

Semantic roles & 50–950 ramp

primary
#B7B72F
secondary
#7A7AC8
accent
#45E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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