#B2C534#B2C534

#B2C534 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.163 H 116.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#B2C534
RGBrgb(178, 197, 52)
HSLhsl(68, 58%, 49%)
HSVhsv(68, 74%, 77%)
CMYKcmyk(9.6%, 0%, 73.6%, 22.7%)
CIE-LABlab(75.85, -24.53, 65.84)
CIE-LCHlch(75.85, 70.27, 110.44°)
OKLaboklab(78.34% -0.0739 0.1456)
OKLCHoklch(78.34% 0.163 116.9)
XYZxyz(38.9471, 49.6459, 10.7790)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C534 #4734C5
analogous
#C59034 #B2C534 #6AC534
triadic
#B2C534 #34B2C5 #C534B2
tetradic
#B2C534 #34C590 #4734C5 #C5346A
square
#B2C534 #34C590 #4734C5 #C5346A
split-complementary
#B2C534 #346AC5 #9034C5
monochromatic
#5B641A #869527 #B2C534 #C6D561 #D7E291

Accessibility & contrast

On white

1.92
#B2C534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#B2C534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C534
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C534#FFFFFF#000000##000000
##B2C5341.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA15
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#BDBAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c534;
/* rgb */ color: rgb(178, 197, 52);
/* oklch */ color: oklch(78.3% 0.163 116.9);
Tailwind
colors: {
  custom: {
    50: '#cdd676',
    500: '#b2c534',
    950: '#000000',
  },
}
SCSS
$custom: #b2c534;
$custom-light: #cdd676;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c534",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 67.862,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78343,
    "c": 0.16324,
    "h": 116.9
  },
  "luminance": 0.49645
}

Semantic roles & 50–950 ramp

primary
#B2C534
secondary
#9188CD
accent
#46E15B
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C534

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

Preview Lab → · Contrast checker → · Palette generator →

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