#B1C12C#B1C12C

#B1C12C is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.163 H 115.8°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B1C12C
RGBrgb(177, 193, 44)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 77%, 76%)
CMYKcmyk(8.3%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.62, -23.36, 67.22)
CIE-LCHlch(74.62, 71.16, 109.16°)
OKLaboklab(77.32% -0.0712 0.1471)
OKLCHoklch(77.32% 0.163 115.8)
XYZxyz(37.6571, 47.6695, 9.5998)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C12C #3C2CC1
analogous
#C1872C #B1C12C #67C12C
triadic
#B1C12C #2CB1C1 #C12CB1
tetradic
#B1C12C #2CC187 #3C2CC1 #C12C67
square
#B1C12C #2CC187 #3C2CC1 #C12C67
split-complementary
#B1C12C #2C67C1 #872CC1
monochromatic
#565D15 #838F21 #B1C12C #C9D853 #D9E384

Accessibility & contrast

On white

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

On black

10.53
#B1C12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C12C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C12C#FFFFFF#000000##000000
##B1C12C1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1c12c;
/* rgb */ color: rgb(177, 193, 44);
/* oklch */ color: oklch(77.3% 0.163 115.8);
Tailwind
colors: {
  custom: {
    50: '#ccd372',
    500: '#b1c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b1c12c;
$custom-light: #ccd372;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c12c",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 66.443,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77319,
    "c": 0.16346,
    "h": 115.8
  },
  "luminance": 0.47669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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