#B2B136#B2B136

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

Color values

HEX#B2B136
RGBrgb(178, 177, 54)
HSLhsl(60, 53%, 45%)
HSVhsv(60, 70%, 70%)
CMYKcmyk(0%, 0.6%, 69.7%, 30.2%)
CIE-LABlab(70.30, -14.46, 59.76)
CIE-LCHlch(70.30, 61.48, 103.60°)
OKLaboklab(73.9% -0.0457 0.1331)
OKLCHoklch(73.9% 0.141 108.9)
XYZxyz(34.7493, 41.1767, 9.6067)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B136 #3637B2
analogous
#B27336 #B2B136 #75B236
triadic
#B2B136 #36B2B1 #B136B2
tetradic
#B2B136 #36B273 #3637B2 #B23675
square
#B2B136 #36B273 #3637B2 #B23675
split-complementary
#B2B136 #3675B2 #7336B2
monochromatic
#54541A #838228 #B2B136 #CDCC59 #DBDA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B136#FFFFFF#000000##000000
##B2B1361.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)
#BFAA22
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b136;
/* rgb */ color: rgb(178, 177, 54);
/* oklch */ color: oklch(73.9% 0.141 108.9);
Tailwind
colors: {
  custom: {
    50: '#ccc875',
    500: '#b2b136',
    950: '#000000',
  },
}
SCSS
$custom: #b2b136;
$custom-light: #ccc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b136",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 59.516,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73899,
    "c": 0.14066,
    "h": 108.9
  },
  "luminance": 0.41176
}

Semantic roles & 50–950 ramp

primary
#B2B136
secondary
#7F80C5
accent
#4CDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B136

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

Preview Lab → · Contrast checker → · Palette generator →

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