#B2C830#B2C830

#B2C830 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.0% C 0.169 H 117.8°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B2C830
RGBrgb(178, 200, 48)
HSLhsl(69, 61%, 49%)
HSVhsv(69, 76%, 78%)
CMYKcmyk(11%, 0%, 76%, 21.6%)
CIE-LABlab(76.67, -26.17, 67.91)
CIE-LCHlch(76.67, 72.77, 111.07°)
OKLaboklab(79% -0.0787 0.1492)
OKLCHoklch(79% 0.169 117.8)
XYZxyz(39.5488, 50.9873, 10.5538)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C830 #4630C8
analogous
#C89230 #B2C830 #66C830
triadic
#B2C830 #30B2C8 #C830B2
tetradic
#B2C830 #30C892 #4630C8 #C83066
square
#B2C830 #30C892 #4630C8 #C83066
split-complementary
#B2C830 #3066C8 #9230C8
monochromatic
#5A6518 #869724 #B2C830 #C6D85D #D8E48E

Accessibility & contrast

On white

1.88
#B2C830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B2C830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C830
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C830#FFFFFF#000000##000000
##B2C8301.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD05
Deuteranopia (green-blind)
#D3BE3E
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c830;
/* rgb */ color: rgb(178, 200, 48);
/* oklch */ color: oklch(79.0% 0.169 117.8);
Tailwind
colors: {
  custom: {
    50: '#cdd875',
    500: '#b2c830',
    950: '#000000',
  },
}
SCSS
$custom: #b2c830;
$custom-light: #cdd875;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c830",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 48
  },
  "hsl": {
    "h": 68.684,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78995,
    "c": 0.16873,
    "h": 117.8
  },
  "luminance": 0.50987
}

Semantic roles & 50–950 ramp

primary
#B2C830
secondary
#362D70
accent
#43E45B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C830

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

Preview Lab → · Contrast checker → · Palette generator →

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