#1B8124#1B8124

#1B8124 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.158 H 144.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1B8124
RGBrgb(27, 129, 36)
HSLhsl(125, 65%, 31%)
HSVhsv(125, 79%, 51%)
CMYKcmyk(79.1%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.05, -47.14, 40.53)
CIE-LCHlch(47.05, 62.16, 139.31°)
OKLaboklab(52.81% -0.1275 0.0928)
OKLCHoklch(52.81% 0.158 144)
XYZxyz(8.6201, 16.0599, 4.3143)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8124 #811B78
analogous
#45811B #1B8124 #1B8157
triadic
#1B8124 #241B81 #81241B
tetradic
#1B8124 #1B4581 #811B78 #81571B
square
#1B8124 #1B4581 #811B78 #81571B
split-complementary
#1B8124 #571B81 #811B45
monochromatic
#061C08 #104E16 #1B8124 #26B432 #3FD74D

Accessibility & contrast

On white

4.99
#1B8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1B8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8124
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8124#FFFFFF#000000##FFFFFF
##1B81241.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b8124;
/* rgb */ color: rgb(27, 129, 36);
/* oklch */ color: oklch(52.8% 0.158 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#1b8124',
    950: '#000000',
  },
}
SCSS
$custom: #1b8124;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8124",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 125.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.15767,
    "h": 144
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#1B8124
secondary
#B543AB
accent
#3FD9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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