#B7B629#B7B629

#B7B629 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.152 H 109.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B7B629
RGBrgb(183, 182, 41)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 78%, 72%)
CMYKcmyk(0%, 0.5%, 77.6%, 28.2%)
CIE-LABlab(72.02, -15.43, 65.95)
CIE-LCHlch(72.02, 67.73, 103.17°)
OKLaboklab(75.35% -0.0498 0.1436)
OKLCHoklch(75.35% 0.152 109.1)
XYZxyz(36.6580, 43.6844, 8.5983)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B629 #292AB7
analogous
#B76F29 #B7B629 #71B729
triadic
#B7B629 #29B7B6 #B629B7
tetradic
#B7B629 #29B76F #292AB7 #B72971
square
#B7B629 #29B76F #292AB7 #B72971
split-complementary
#B7B629 #2971B7 #6F29B7
monochromatic
#535313 #85841E #B7B629 #D6D547 #E1E079

Accessibility & contrast

On white

2.16
#B7B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#B7B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B629
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B629#FFFFFF#000000##000000
##B7B6291.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C7B335
Tritanopia (blue-blind)
#C4AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b629;
/* rgb */ color: rgb(183, 182, 41);
/* oklch */ color: oklch(75.3% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cb6f',
    500: '#b7b629',
    950: '#000000',
  },
}
SCSS
$custom: #b7b629;
$custom-light: #d0cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b629",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 59.577,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75348,
    "c": 0.15203,
    "h": 109.1
  },
  "luminance": 0.43683
}

Semantic roles & 50–950 ramp

primary
#B7B629
secondary
#7373C9
accent
#43E641
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B629

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

Preview Lab → · Contrast checker → · Palette generator →

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