#B2B72B#B2B72B

#B2B72B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.153 H 111.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B2B72B
RGBrgb(178, 183, 43)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 77%, 72%)
CMYKcmyk(2.7%, 0%, 76.5%, 28.2%)
CIE-LABlab(71.90, -18.01, 65.08)
CIE-LCHlch(71.90, 67.52, 105.47°)
OKLaboklab(75.16% -0.0566 0.1423)
OKLCHoklch(75.16% 0.153 111.7)
XYZxyz(35.7309, 43.5073, 8.8006)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B72B #302BB7
analogous
#B7762B #B2B72B #6CB72B
triadic
#B2B72B #2BB2B7 #B72BB2
tetradic
#B2B72B #2BB776 #302BB7 #B72B6C
square
#B2B72B #2BB776 #302BB7 #B72B6C
split-complementary
#B2B72B #2B6CB7 #762BB7
monochromatic
#525414 #82851F #B2B72B #D0D54B #DDE07C

Accessibility & contrast

On white

2.16
#B2B72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B2B72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B72B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B72B#FFFFFF#000000##000000
##B2B72B1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#BFAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b72b;
/* rgb */ color: rgb(178, 183, 43);
/* oklch */ color: oklch(75.2% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcc70',
    500: '#b2b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b72b;
$custom-light: #cdcc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b72b",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 62.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.15317,
    "h": 111.7
  },
  "luminance": 0.43506
}

Semantic roles & 50–950 ramp

primary
#B2B72B
secondary
#7875C9
accent
#43E549
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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