#B2B62C#B2B62C

#B2B62C 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#B2B62C
RGBrgb(178, 182, 44)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.2%, 0%, 75.8%, 28.6%)
CIE-LABlab(71.63, -17.47, 64.51)
CIE-LCHlch(71.63, 66.83, 105.15°)
OKLaboklab(74.94% -0.055 0.1413)
OKLCHoklch(74.94% 0.152 111.3)
XYZxyz(35.5439, 43.1037, 8.8299)
Luminance0.4310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B62C #302CB6
analogous
#B6752C #B2B62C #6DB62C
triadic
#B2B62C #2CB2B6 #B62CB2
tetradic
#B2B62C #2CB675 #302CB6 #B62C6D
square
#B2B62C #2CB675 #302CB6 #B62C6D
split-complementary
#B2B62C #2C6DB6 #752CB6
monochromatic
#525314 #828520 #B2B62C #D0D44C #DDE07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B62C#FFFFFF#000000##000000
##B2B62C1.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)
#C4AE07
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b62c;
/* rgb */ color: rgb(178, 182, 44);
/* oklch */ color: oklch(74.9% 0.152 111.3);
Tailwind
colors: {
  custom: {
    50: '#cdcb71',
    500: '#b2b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b62c;
$custom-light: #cdcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b62c",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 61.739,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7494,
    "c": 0.15164,
    "h": 111.3
  },
  "luminance": 0.43103
}

Semantic roles & 50–950 ramp

primary
#B2B62C
secondary
#7876C8
accent
#44E448
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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