#B2C030#B2C030

#B2C030 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.160 H 115.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#B2C030
RGBrgb(178, 192, 48)
HSLhsl(66, 60%, 47%)
HSVhsv(66, 75%, 75%)
CMYKcmyk(7.3%, 0%, 75%, 24.7%)
CIE-LABlab(74.43, -22.27, 65.82)
CIE-LCHlch(74.43, 69.49, 108.70°)
OKLaboklab(77.2% -0.068 0.1448)
OKLCHoklch(77.2% 0.16 115.1)
XYZxyz(37.7443, 47.3783, 9.9523)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C030 #3E30C0
analogous
#C08630 #B2C030 #6AC030
triadic
#B2C030 #30B2C0 #C030B2
tetradic
#B2C030 #30C086 #3E30C0 #C0306A
square
#B2C030 #30C086 #3E30C0 #C0306A
split-complementary
#B2C030 #306AC0 #8630C0
monochromatic
#575E18 #858F24 #B2C030 #C9D558 #D9E189

Accessibility & contrast

On white

2.00
#B2C030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#B2C030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C030
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C030#FFFFFF#000000##000000
##B2C0301.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c030;
/* rgb */ color: rgb(178, 192, 48);
/* oklch */ color: oklch(77.2% 0.160 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd274',
    500: '#b2c030',
    950: '#000000',
  },
}
SCSS
$custom: #b2c030;
$custom-light: #cdd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c030",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 48
  },
  "hsl": {
    "h": 65.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77195,
    "c": 0.15999,
    "h": 115.1
  },
  "luminance": 0.47378
}

Semantic roles & 50–950 ramp

primary
#B2C030
secondary
#8880CB
accent
#45E354
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C030

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

Preview Lab → · Contrast checker → · Palette generator →

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