#B2B629#B2B629

#B2B629 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#B2B629
RGBrgb(178, 182, 41)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.2%, 0%, 77.5%, 28.6%)
CIE-LABlab(71.61, -17.59, 65.43)
CIE-LCHlch(71.61, 67.75, 105.04°)
OKLaboklab(74.92% -0.0556 0.1427)
OKLCHoklch(74.92% 0.153 111.3)
XYZxyz(35.4895, 43.0819, 8.5435)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B629 #2D29B6
analogous
#B67329 #B2B629 #6BB629
triadic
#B2B629 #29B2B6 #B629B2
tetradic
#B2B629 #29B673 #2D29B6 #B6296B
square
#B2B629 #29B673 #2D29B6 #B6296B
split-complementary
#B2B629 #296BB6 #7329B6
monochromatic
#505212 #81841E #B2B629 #D1D547 #DEE179

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B629#FFFFFF#000000##000000
##B2B6291.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: #b2b629;
/* rgb */ color: rgb(178, 182, 41);
/* oklch */ color: oklch(74.9% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#cdcb6f',
    500: '#b2b629',
    950: '#000000',
  },
}
SCSS
$custom: #b2b629;
$custom-light: #cdcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b629",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 61.702,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.15317,
    "h": 111.3
  },
  "luminance": 0.43081
}

Semantic roles & 50–950 ramp

primary
#B2B629
secondary
#7572C9
accent
#42E646
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B629

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

Preview Lab → · Contrast checker → · Palette generator →

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