#1B8529#1B8529

#1B8529 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.159 H 144.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1B8529
RGBrgb(27, 133, 41)
HSLhsl(128, 66%, 31%)
HSVhsv(128, 80%, 52%)
CMYKcmyk(79.7%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.47, -47.99, 39.90)
CIE-LCHlch(48.47, 62.41, 140.26°)
OKLaboklab(54% -0.1296 0.092)
OKLCHoklch(54% 0.159 144.6)
XYZxyz(9.2391, 17.1671, 4.9240)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8529 #851B77
analogous
#42851B #1B8529 #1B855E
triadic
#1B8529 #291B85 #85291B
tetradic
#1B8529 #1B4285 #851B77 #855E1B
square
#1B8529 #1B4285 #851B77 #855E1B
split-complementary
#1B8529 #5E1B85 #851B42
monochromatic
#061F0A #115219 #1B8529 #25B839 #42D956

Accessibility & contrast

On white

4.74
#1B8529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1B8529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8529
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8529#FFFFFF#000000##FFFFFF
##1B85291.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8529;
/* rgb */ color: rgb(27, 133, 41);
/* oklch */ color: oklch(54.0% 0.159 144.6);
Tailwind
colors: {
  custom: {
    50: '#6baa67',
    500: '#1b8529',
    950: '#000000',
  },
}
SCSS
$custom: #1b8529;
$custom-light: #6baa67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8529",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 127.925,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.15897,
    "h": 144.6
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#1B8529
secondary
#B844A9
accent
#3FD3E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8529

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

Preview Lab → · Contrast checker → · Palette generator →

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