#B7B72D#B7B72D

#B7B72D 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#B7B72D
RGBrgb(183, 183, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0%, 0%, 75.4%, 28.2%)
CIE-LABlab(72.31, -15.78, 64.97)
CIE-LCHlch(72.31, 66.86, 103.65°)
OKLaboklab(75.59% -0.0505 0.1423)
OKLCHoklch(75.59% 0.151 109.5)
XYZxyz(36.9370, 44.1248, 9.0534)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B72D #2D2DB7
analogous
#B7722D #B7B72D #72B72D
triadic
#B7B72D #2DB7B7 #B72DB7
tetradic
#B7B72D #2DB772 #2D2DB7 #B72D72
square
#B7B72D #2DB772 #2D2DB7 #B72D72
split-complementary
#B7B72D #2D72B7 #722DB7
monochromatic
#555515 #868621 #B7B72D #D3D34E #DFDF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b7b72d;
/* rgb */ color: rgb(183, 183, 45);
/* oklch */ color: oklch(75.6% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc71',
    500: '#b7b72d',
    950: '#000000',
  },
}
SCSS
$custom: #b7b72d;
$custom-light: #d0cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b72d",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7559,
    "c": 0.15097,
    "h": 109.5
  },
  "luminance": 0.44124
}

Semantic roles & 50–950 ramp

primary
#B7B72D
secondary
#7878C8
accent
#44E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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