#B4B137#B4B137

#B4B137 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.140 H 108.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B4B137
RGBrgb(180, 177, 55)
HSLhsl(59, 53%, 46%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.7%, 69.4%, 29.4%)
CIE-LABlab(70.47, -13.54, 59.60)
CIE-LCHlch(70.47, 61.12, 102.80°)
OKLaboklab(74.08% -0.0431 0.1328)
OKLCHoklch(74.08% 0.14 108)
XYZxyz(35.2354, 41.4245, 9.7534)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B137 #373AB4
analogous
#B47237 #B4B137 #78B437
triadic
#B4B137 #37B4B1 #B137B4
tetradic
#B4B137 #37B472 #373AB4 #B43778
square
#B4B137 #37B472 #373AB4 #B43778
split-complementary
#B4B137 #3778B4 #7237B4
monochromatic
#56551A #858329 #B4B137 #CDCA5B #DBD98A

Accessibility & contrast

On white

2.26
#B4B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B4B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B137
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B137#FFFFFF#000000##000000
##B4B1371.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C2AE40
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b137;
/* rgb */ color: rgb(180, 177, 55);
/* oklch */ color: oklch(74.1% 0.140 108.0);
Tailwind
colors: {
  custom: {
    50: '#cec876',
    500: '#b4b137',
    950: '#000000',
  },
}
SCSS
$custom: #b4b137;
$custom-light: #cec876;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b137",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 58.56,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.13964,
    "h": 108
  },
  "luminance": 0.41423
}

Semantic roles & 50–950 ramp

primary
#B4B137
secondary
#8183C6
accent
#4FDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B137

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

Preview Lab → · Contrast checker → · Palette generator →

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