#B7B334#B7B334

#B7B334 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.143 H 107.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B7B334
RGBrgb(183, 179, 52)
HSLhsl(58, 56%, 46%)
HSVhsv(58, 72%, 72%)
CMYKcmyk(0%, 2.2%, 71.6%, 28.2%)
CIE-LABlab(71.25, -13.43, 61.57)
CIE-LCHlch(71.25, 63.02, 102.30°)
OKLaboklab(74.76% -0.0432 0.1364)
OKLCHoklch(74.76% 0.143 107.6)
XYZxyz(36.2698, 42.5566, 9.5519)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B334 #3438B7
analogous
#B77134 #B7B334 #79B734
triadic
#B7B334 #34B7B3 #B334B7
tetradic
#B7B334 #34B771 #3438B7 #B73479
square
#B7B334 #34B771 #3438B7 #B73479
split-complementary
#B7B334 #3479B7 #7134B7
monochromatic
#585619 #878426 #B7B334 #D0CC59 #DDDB88

Accessibility & contrast

On white

2.21
#B7B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B7B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B334
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B334#FFFFFF#000000##000000
##B7B3341.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#C4A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b334;
/* rgb */ color: rgb(183, 179, 52);
/* oklch */ color: oklch(74.8% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#d0c974',
    500: '#b7b334',
    950: '#000000',
  },
}
SCSS
$custom: #b7b334;
$custom-light: #d0c974;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b334",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 58.168,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74757,
    "c": 0.14305,
    "h": 107.6
  },
  "luminance": 0.42555
}

Semantic roles & 50–950 ramp

primary
#B7B334
secondary
#8082C7
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B334

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

Preview Lab → · Contrast checker → · Palette generator →

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