#B2B62E#B2B62E

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

Color values

HEX#B2B62E
RGBrgb(178, 182, 46)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 71%)
CMYKcmyk(2.2%, 0%, 74.7%, 28.6%)
CIE-LABlab(71.64, -17.38, 63.87)
CIE-LCHlch(71.64, 66.19, 105.22°)
OKLaboklab(74.95% -0.0546 0.1403)
OKLCHoklch(74.95% 0.151 111.3)
XYZxyz(35.5824, 43.1191, 9.0327)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B62E #322EB6
analogous
#B6762E #B2B62E #6EB62E
triadic
#B2B62E #2EB2B6 #B62EB2
tetradic
#B2B62E #2EB676 #322EB6 #B62E6E
square
#B2B62E #2EB676 #322EB6 #B62E6E
split-complementary
#B2B62E #2E6EB6 #762EB6
monochromatic
#525415 #828522 #B2B62E #CFD24F #DCDF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B62E#FFFFFF#000000##000000
##B2B62E1.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)
#C4AE0E
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b62e;
/* rgb */ color: rgb(178, 182, 46);
/* oklch */ color: oklch(75.0% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#cdcb71',
    500: '#b2b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b62e;
$custom-light: #cdcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b62e",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 61.765,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.15056,
    "h": 111.3
  },
  "luminance": 0.43118
}

Semantic roles & 50–950 ramp

primary
#B2B62E
secondary
#7B78C8
accent
#45E34A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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