#1B8225#1B8225

#1B8225 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.158 H 144.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1B8225
RGBrgb(27, 130, 37)
HSLhsl(126, 66%, 31%)
HSVhsv(126, 79%, 51%)
CMYKcmyk(79.2%, 0%, 71.5%, 49%)
CIE-LABlab(47.41, -47.38, 40.48)
CIE-LCHlch(47.41, 62.32, 139.49°)
OKLaboklab(53.1% -0.1281 0.0928)
OKLCHoklch(53.1% 0.158 144.1)
XYZxyz(8.7680, 16.3308, 4.4400)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8225 #821B78
analogous
#44821B #1B8225 #1B8258
triadic
#1B8225 #251B82 #82251B
tetradic
#1B8225 #1B4482 #821B78 #82581B
square
#1B8225 #1B4482 #821B78 #82581B
split-complementary
#1B8225 #581B82 #821B44
monochromatic
#061D08 #104F17 #1B8225 #26B533 #40D74F

Accessibility & contrast

On white

4.92
#1B8225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1B8225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8225
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8225#FFFFFF#000000##FFFFFF
##1B82251.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857517
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8225;
/* rgb */ color: rgb(27, 130, 37);
/* oklch */ color: oklch(53.1% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ba765',
    500: '#1b8225',
    950: '#000000',
  },
}
SCSS
$custom: #1b8225;
$custom-light: #6ba765;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8225",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 125.825,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.15819,
    "h": 144.1
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#1B8225
secondary
#B643AA
accent
#3FD8E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1B8225

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

Preview Lab → · Contrast checker → · Palette generator →

#1B8225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva