#B7B434#B7B434

#B7B434 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.0% C 0.144 H 108.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B7B434
RGBrgb(183, 180, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.6%, 71.6%, 28.2%)
CIE-LABlab(71.53, -13.94, 61.83)
CIE-LCHlch(71.53, 63.39, 102.70°)
OKLaboklab(74.98% -0.0447 0.1369)
OKLCHoklch(74.98% 0.144 108.1)
XYZxyz(36.4709, 42.9589, 9.6189)
Luminance0.4296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B434 #3437B7
analogous
#B77234 #B7B434 #78B734
triadic
#B7B434 #34B7B4 #B434B7
tetradic
#B7B434 #34B772 #3437B7 #B73478
square
#B7B434 #34B772 #3437B7 #B73478
split-complementary
#B7B434 #3478B7 #7234B7
monochromatic
#585619 #878526 #B7B434 #D0CD59 #DDDB88

Accessibility & contrast

On white

2.19
#B7B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B7B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B434
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B434#FFFFFF#000000##000000
##B7B4341.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#C4A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b434;
/* rgb */ color: rgb(183, 180, 52);
/* oklch */ color: oklch(75.0% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca74',
    500: '#b7b434',
    950: '#000000',
  },
}
SCSS
$custom: #b7b434;
$custom-light: #d0ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b434",
  "rgb": {
    "r": 183,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 58.626,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74976,
    "c": 0.14402,
    "h": 108.1
  },
  "luminance": 0.42958
}

Semantic roles & 50–950 ramp

primary
#B7B434
secondary
#8081C7
accent
#4CDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B434

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

Preview Lab → · Contrast checker → · Palette generator →

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