#B2B137#B2B137

#B2B137 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.140 H 108.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B2B137
RGBrgb(178, 177, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 70%)
CMYKcmyk(0%, 0.6%, 69.1%, 30.2%)
CIE-LABlab(70.31, -14.40, 59.38)
CIE-LCHlch(70.31, 61.10, 103.63°)
OKLaboklab(73.91% -0.0454 0.1324)
OKLCHoklch(73.91% 0.14 108.9)
XYZxyz(34.7730, 41.1861, 9.7317)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B137 #3738B2
analogous
#B27337 #B2B137 #75B237
triadic
#B2B137 #37B2B1 #B137B2
tetradic
#B2B137 #37B273 #3738B2 #B23775
square
#B2B137 #37B273 #3738B2 #B23775
split-complementary
#B2B137 #3775B2 #7337B2
monochromatic
#54541A #838329 #B2B137 #CCCB5A #DBDA89

Accessibility & contrast

On white

2.27
#B2B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B2B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B137
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B137#FFFFFF#000000##000000
##B2B1371.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b137;
/* rgb */ color: rgb(178, 177, 55);
/* oklch */ color: oklch(73.9% 0.140 108.9);
Tailwind
colors: {
  custom: {
    50: '#ccc875',
    500: '#b2b137',
    950: '#000000',
  },
}
SCSS
$custom: #b2b137;
$custom-light: #ccc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b137",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 59.512,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.14,
    "h": 108.9
  },
  "luminance": 0.41185
}

Semantic roles & 50–950 ramp

primary
#B2B137
secondary
#8081C5
accent
#4DDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B137

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

Preview Lab → · Contrast checker → · Palette generator →

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