#B2C12C#B2C12C

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

Color values

HEX#B2C12C
RGBrgb(178, 193, 44)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 77%, 76%)
CMYKcmyk(7.8%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.69, -22.93, 67.31)
CIE-LCHlch(74.69, 71.11, 108.81°)
OKLaboklab(77.4% -0.0701 0.1473)
OKLCHoklch(77.4% 0.163 115.5)
XYZxyz(37.8858, 47.7874, 9.6105)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C12C #3B2CC1
analogous
#C1862C #B2C12C #68C12C
triadic
#B2C12C #2CB2C1 #C12CB2
tetradic
#B2C12C #2CC186 #3B2CC1 #C12C68
square
#B2C12C #2CC186 #3B2CC1 #C12C68
split-complementary
#B2C12C #2C68C1 #862CC1
monochromatic
#565D15 #848F21 #B2C12C #CAD853 #DAE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C12C#FFFFFF#000000##000000
##B2C12C1.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)
#CFB700
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#BEB6A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c12c;
/* rgb */ color: rgb(178, 193, 44);
/* oklch */ color: oklch(77.4% 0.163 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd372',
    500: '#b2c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b2c12c;
$custom-light: #cdd372;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c12c",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 66.04,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77397,
    "c": 0.16313,
    "h": 115.5
  },
  "luminance": 0.47787
}

Semantic roles & 50–950 ramp

primary
#B2C12C
secondary
#857DCC
accent
#42E652
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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