#B7B134#B7B134

#B7B134 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.141 H 106.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B7B134
RGBrgb(183, 177, 52)
HSLhsl(57, 56%, 46%)
HSVhsv(57, 72%, 72%)
CMYKcmyk(0%, 3.3%, 71.6%, 28.2%)
CIE-LABlab(70.71, -12.40, 61.04)
CIE-LCHlch(70.71, 62.29, 101.48°)
OKLaboklab(74.32% -0.0403 0.1352)
OKLCHoklch(74.32% 0.141 106.6)
XYZxyz(35.8718, 41.7608, 9.4192)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B134 #343AB7
analogous
#B76F34 #B7B134 #7BB734
triadic
#B7B134 #34B7B1 #B134B7
tetradic
#B7B134 #34B76F #343AB7 #B7347B
square
#B7B134 #34B76F #343AB7 #B7347B
split-complementary
#B7B134 #347BB7 #6F34B7
monochromatic
#585519 #878326 #B7B134 #D0CA59 #DDD988

Accessibility & contrast

On white

2.25
#B7B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#B7B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B134
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B134#FFFFFF#000000##000000
##B7B1341.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#C4A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b134;
/* rgb */ color: rgb(183, 177, 52);
/* oklch */ color: oklch(74.3% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#d0c874',
    500: '#b7b134',
    950: '#000000',
  },
}
SCSS
$custom: #b7b134;
$custom-light: #d0c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b134",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 57.252,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.14113,
    "h": 106.6
  },
  "luminance": 0.41759
}

Semantic roles & 50–950 ramp

primary
#B7B134
secondary
#8083C7
accent
#50DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B134

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

Preview Lab → · Contrast checker → · Palette generator →

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