#B2C129#B2C129

#B2C129 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.165 H 115.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B2C129
RGBrgb(178, 193, 41)
HSLhsl(66, 65%, 46%)
HSVhsv(66, 79%, 76%)
CMYKcmyk(7.8%, 0%, 78.8%, 24.3%)
CIE-LABlab(74.68, -23.05, 68.18)
CIE-LCHlch(74.68, 71.98, 108.68°)
OKLaboklab(77.38% -0.0707 0.1486)
OKLCHoklch(77.38% 0.165 115.4)
XYZxyz(37.8314, 47.7656, 9.3242)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C129 #3829C1
analogous
#C18429 #B2C129 #66C129
triadic
#B2C129 #29B2C1 #C129B2
tetradic
#B2C129 #29C184 #3829C1 #C12966
square
#B2C129 #29C184 #3829C1 #C12966
split-complementary
#B2C129 #2966C1 #8429C1
monochromatic
#555C14 #838F1E #B2C129 #CCD94E #DAE480

Accessibility & contrast

On white

1.99
#B2C129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B2C129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C129
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C129#FFFFFF#000000##000000
##B2C1291.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c129;
/* rgb */ color: rgb(178, 193, 41);
/* oklch */ color: oklch(77.4% 0.165 115.4);
Tailwind
colors: {
  custom: {
    50: '#cdd371',
    500: '#b2c129',
    950: '#000000',
  },
}
SCSS
$custom: #b2c129;
$custom-light: #cdd371;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c129",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 41
  },
  "hsl": {
    "h": 65.921,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77382,
    "c": 0.16457,
    "h": 115.4
  },
  "luminance": 0.47765
}

Semantic roles & 50–950 ramp

primary
#B2C129
secondary
#8179CD
accent
#40E850
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2C129

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

Preview Lab → · Contrast checker → · Palette generator →

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