#B2B62A#B2B62A

#B2B62A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.153 H 111.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B2B62A
RGBrgb(178, 182, 42)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.2%, 0%, 76.9%, 28.6%)
CIE-LABlab(71.62, -17.55, 65.13)
CIE-LCHlch(71.62, 67.45, 105.08°)
OKLaboklab(74.93% -0.0554 0.1423)
OKLCHoklch(74.93% 0.153 111.3)
XYZxyz(35.5072, 43.0890, 8.6366)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B62A #2E2AB6
analogous
#B6742A #B2B62A #6CB62A
triadic
#B2B62A #2AB2B6 #B62AB2
tetradic
#B2B62A #2AB674 #2E2AB6 #B62A6C
square
#B2B62A #2AB674 #2E2AB6 #B62A6C
split-complementary
#B2B62A #2A6CB6 #742AB6
monochromatic
#515313 #81841F #B2B62A #D1D548 #DDE07A

Accessibility & contrast

On white

2.18
#B2B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B2B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B62A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B62A#FFFFFF#000000##000000
##B2B62A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b62a;
/* rgb */ color: rgb(178, 182, 42);
/* oklch */ color: oklch(74.9% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#cdcb70',
    500: '#b2b62a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b62a;
$custom-light: #cdcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b62a",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 61.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74929,
    "c": 0.15266,
    "h": 111.3
  },
  "luminance": 0.43088
}

Semantic roles & 50–950 ramp

primary
#B2B62A
secondary
#7673C8
accent
#42E647
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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