#B2B029#B2B029

#B2B029 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.6% C 0.147 H 108.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B2B029
RGBrgb(178, 176, 41)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 77%, 70%)
CMYKcmyk(0%, 1.1%, 77%, 30.2%)
CIE-LABlab(69.95, -14.54, 63.93)
CIE-LCHlch(69.95, 65.56, 102.81°)
OKLaboklab(73.6% -0.0471 0.1395)
OKLCHoklch(73.6% 0.147 108.6)
XYZxyz(34.2870, 40.6769, 8.1427)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B029 #292BB2
analogous
#B26B29 #B2B029 #6FB229
triadic
#B2B029 #29B2B0 #B029B2
tetradic
#B2B029 #29B26B #292BB2 #B2296F
square
#B2B029 #29B26B #292BB2 #B2296F
split-complementary
#B2B029 #296FB2 #6B29B2
monochromatic
#4F4E12 #807F1E #B2B029 #D4D244 #DFDE76

Accessibility & contrast

On white

2.30
#B2B029 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B2B029 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B029
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B029#FFFFFF#000000##000000
##B2B0291.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA902
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b029;
/* rgb */ color: rgb(178, 176, 41);
/* oklch */ color: oklch(73.6% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#cdc76e',
    500: '#b2b029',
    950: '#000000',
  },
}
SCSS
$custom: #b2b029;
$custom-light: #cdc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b029",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 41
  },
  "hsl": {
    "h": 59.124,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73596,
    "c": 0.14726,
    "h": 108.6
  },
  "luminance": 0.40676
}

Semantic roles & 50–950 ramp

primary
#B2B029
secondary
#7071C7
accent
#45E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B029

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

Preview Lab → · Contrast checker → · Palette generator →

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