#B1C162#B1C162

#B1C162 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.8% C 0.122 H 117.2°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B1C162
RGBrgb(177, 193, 98)
HSLhsl(70, 43%, 57%)
HSVhsv(70, 49%, 76%)
CMYKcmyk(8.3%, 0%, 49.2%, 24.3%)
CIE-LABlab(75.06, -19.66, 45.60)
CIE-LCHlch(75.06, 49.66, 113.32°)
OKLaboklab(77.81% -0.0557 0.1084)
OKLCHoklch(77.81% 0.122 117.2)
XYZxyz(39.4065, 48.3692, 18.8132)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C162 #7262C1
analogous
#C1A162 #B1C162 #82C162
triadic
#B1C162 #62B1C1 #C162B1
tetradic
#B1C162 #62C1A1 #7262C1 #C16282
square
#B1C162 #62C1A1 #7262C1 #C16282
split-complementary
#B1C162 #6282C1 #A162C1
monochromatic
#6D7930 #94A541 #B1C162 #C7D28E #DDE4BA

Accessibility & contrast

On white

1.97
#B1C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B1C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C162
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C162#FFFFFF#000000##000000
##B1C1621.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB85A
Deuteranopia (green-blind)
#CAB967
Tritanopia (blue-blind)
#BAB8AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b1c162;
/* rgb */ color: rgb(177, 193, 98);
/* oklch */ color: oklch(77.8% 0.122 117.2);
Tailwind
colors: {
  custom: {
    50: '#cad391',
    500: '#b1c162',
    950: '#000000',
  },
}
SCSS
$custom: #b1c162;
$custom-light: #cad391;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c162",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 70.105,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77814,
    "c": 0.1219,
    "h": 117.2
  },
  "luminance": 0.48369
}

Semantic roles & 50–950 ramp

primary
#B1C162
secondary
#B3ACD3
accent
#55D36A
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #B1C162

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

Preview Lab → · Contrast checker → · Palette generator →

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