#1B8520#1B8520

#1B8520 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.165 H 143.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1B8520
RGBrgb(27, 133, 32)
HSLhsl(123, 66%, 31%)
HSVhsv(123, 80%, 52%)
CMYKcmyk(79.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.40, -48.85, 43.52)
CIE-LCHlch(48.40, 65.42, 138.31°)
OKLaboklab(53.92% -0.1324 0.0985)
OKLCHoklch(53.92% 0.165 143.4)
XYZxyz(9.0996, 17.1113, 4.1894)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8520 #851B80
analogous
#4B851B #1B8520 #1B8555
triadic
#1B8520 #201B85 #85201B
tetradic
#1B8520 #1B4B85 #851B80 #85551B
square
#1B8520 #1B4B85 #851B80 #85551B
split-complementary
#1B8520 #551B85 #851B4B
monochromatic
#061F08 #115214 #1B8520 #25B82C #42D949

Accessibility & contrast

On white

4.75
#1B8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1B8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8520
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8520#FFFFFF#000000##FFFFFF
##1B85201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8520;
/* rgb */ color: rgb(27, 133, 32);
/* oklch */ color: oklch(53.9% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#6caa63',
    500: '#1b8520',
    950: '#000000',
  },
}
SCSS
$custom: #1b8520;
$custom-light: #6caa63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8520",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 122.83,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.16497,
    "h": 143.4
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#1B8520
secondary
#B844B3
accent
#3FE1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B8520

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

Preview Lab → · Contrast checker → · Palette generator →

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