#B2B62B#B2B62B

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

Color values

HEX#B2B62B
RGBrgb(178, 182, 43)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.2%, 0%, 76.4%, 28.6%)
CIE-LABlab(71.62, -17.51, 64.82)
CIE-LCHlch(71.62, 67.14, 105.11°)
OKLaboklab(74.94% -0.0552 0.1418)
OKLCHoklch(74.94% 0.152 111.3)
XYZxyz(35.5253, 43.0962, 8.7321)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B62B #2F2BB6
analogous
#B6752B #B2B62B #6CB62B
triadic
#B2B62B #2BB2B6 #B62BB2
tetradic
#B2B62B #2BB675 #2F2BB6 #B62B6C
square
#B2B62B #2BB675 #2F2BB6 #B62B6C
split-complementary
#B2B62B #2B6CB6 #752BB6
monochromatic
#515314 #82841F #B2B62B #D0D44A #DDE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B62B#FFFFFF#000000##000000
##B2B62B1.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)
#C5AE04
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b62b;
/* rgb */ color: rgb(178, 182, 43);
/* oklch */ color: oklch(74.9% 0.152 111.3);
Tailwind
colors: {
  custom: {
    50: '#cdcb70',
    500: '#b2b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b62b;
$custom-light: #cdcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b62b",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 61.727,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74935,
    "c": 0.15216,
    "h": 111.3
  },
  "luminance": 0.43095
}

Semantic roles & 50–950 ramp

primary
#B2B62B
secondary
#7775C8
accent
#43E548
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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