#B2B434#B2B434

#B2B434 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.145 H 110.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B2B434
RGBrgb(178, 180, 52)
HSLhsl(61, 55%, 45%)
HSVhsv(61, 71%, 71%)
CMYKcmyk(1.1%, 0%, 71.1%, 29.4%)
CIE-LABlab(71.12, -16.09, 61.30)
CIE-LCHlch(71.12, 63.37, 104.71°)
OKLaboklab(74.55% -0.0504 0.1359)
OKLCHoklch(74.55% 0.145 110.3)
XYZxyz(35.3024, 42.3564, 9.5641)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B434 #3634B4
analogous
#B47634 #B2B434 #72B434
triadic
#B2B434 #34B2B4 #B434B2
tetradic
#B2B434 #34B476 #3634B4 #B43472
square
#B2B434 #34B476 #3634B4 #B43472
split-complementary
#B2B434 #3472B4 #7634B4
monochromatic
#545519 #838526 #B2B434 #CDCE57 #DBDC86

Accessibility & contrast

On white

2.22
#B2B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B2B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B434
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B434#FFFFFF#000000##000000
##B2B4341.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b434;
/* rgb */ color: rgb(178, 180, 52);
/* oklch */ color: oklch(74.5% 0.145 110.3);
Tailwind
colors: {
  custom: {
    50: '#ccca74',
    500: '#b2b434',
    950: '#000000',
  },
}
SCSS
$custom: #b2b434;
$custom-light: #ccca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b434",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 60.938,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74547,
    "c": 0.145,
    "h": 110.3
  },
  "luminance": 0.42355
}

Semantic roles & 50–950 ramp

primary
#B2B434
secondary
#7F7EC6
accent
#49DF4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B434

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

Preview Lab → · Contrast checker → · Palette generator →

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