#B2B534#B2B534

#B2B534 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.146 H 110.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B2B534
RGBrgb(178, 181, 52)
HSLhsl(61, 55%, 46%)
HSVhsv(61, 71%, 71%)
CMYKcmyk(1.7%, 0%, 71.3%, 29%)
CIE-LABlab(71.39, -16.60, 61.56)
CIE-LCHlch(71.39, 63.76, 105.09°)
OKLaboklab(74.77% -0.0518 0.1365)
OKLCHoklch(74.77% 0.146 110.8)
XYZxyz(35.5050, 42.7616, 9.6317)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B534 #3734B5
analogous
#B57734 #B2B534 #72B534
triadic
#B2B534 #34B2B5 #B534B2
tetradic
#B2B534 #34B577 #3734B5 #B53472
square
#B2B534 #34B577 #3734B5 #B53472
split-complementary
#B2B534 #3472B5 #7734B5
monochromatic
#545619 #838526 #B2B534 #CCCF57 #DBDC87

Accessibility & contrast

On white

2.20
#B2B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B2B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B534
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B534#FFFFFF#000000##000000
##B2B5341.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b534;
/* rgb */ color: rgb(178, 181, 52);
/* oklch */ color: oklch(74.8% 0.146 110.8);
Tailwind
colors: {
  custom: {
    50: '#ccca74',
    500: '#b2b534',
    950: '#000000',
  },
}
SCSS
$custom: #b2b534;
$custom-light: #ccca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b534",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 61.395,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74769,
    "c": 0.14602,
    "h": 110.8
  },
  "luminance": 0.42761
}

Semantic roles & 50–950 ramp

primary
#B2B534
secondary
#807FC6
accent
#49DF4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B534

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

Preview Lab → · Contrast checker → · Palette generator →

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