#B2C130#B2C130

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

Color values

HEX#B2C130
RGBrgb(178, 193, 48)
HSLhsl(66, 60%, 47%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.8%, 0%, 75.1%, 24.3%)
CIE-LABlab(74.71, -22.77, 66.08)
CIE-LCHlch(74.71, 69.90, 109.01°)
OKLaboklab(77.42% -0.0693 0.1454)
OKLCHoklch(77.42% 0.161 115.5)
XYZxyz(37.9646, 47.8189, 10.0258)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C130 #3F30C1
analogous
#C18830 #B2C130 #69C130
triadic
#B2C130 #30B2C1 #C130B2
tetradic
#B2C130 #30C188 #3F30C1 #C13069
square
#B2C130 #30C188 #3F30C1 #C13069
split-complementary
#B2C130 #3069C1 #8830C1
monochromatic
#585F18 #859024 #B2C130 #C9D659 #D9E28A

Accessibility & contrast

On white

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

On black

10.56
#B2C130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C130
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C130#FFFFFF#000000##000000
##B2C1301.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70C
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#BEB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c130;
/* rgb */ color: rgb(178, 193, 48);
/* oklch */ color: oklch(77.4% 0.161 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd374',
    500: '#b2c130',
    950: '#000000',
  },
}
SCSS
$custom: #b2c130;
$custom-light: #cdd374;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c130",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 66.207,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77419,
    "c": 0.16106,
    "h": 115.5
  },
  "luminance": 0.47818
}

Semantic roles & 50–950 ramp

primary
#B2C130
secondary
#8981CC
accent
#44E355
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C130

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

Preview Lab → · Contrast checker → · Palette generator →

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