#1A841B#1A841B

#1A841B is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.167 H 142.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1A841B
RGBrgb(26, 132, 27)
HSLhsl(121, 67%, 31%)
HSVhsv(121, 80%, 52%)
CMYKcmyk(80.3%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.01, -49.06, 44.93)
CIE-LCHlch(48.01, 66.53, 137.52°)
OKLaboklab(53.58% -0.1331 0.1007)
OKLCHoklch(53.58% 0.167 142.9)
XYZxyz(8.8745, 16.8002, 3.8118)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A841B #841A83
analogous
#4E841A #1A841B #1A8450
triadic
#1A841B #1B1A84 #841B1A
tetradic
#1A841B #1A4E84 #841A83 #84501A
square
#1A841B #1A4E84 #841A83 #84501A
split-complementary
#1A841B #501A84 #841A4E
monochromatic
#061E06 #105111 #1A841B #24B725 #3FD941

Accessibility & contrast

On white

4.82
#1A841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1A841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A841B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A841B#FFFFFF#000000##FFFFFF
##1A841B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a841b;
/* rgb */ color: rgb(26, 132, 27);
/* oklch */ color: oklch(53.6% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ba960',
    500: '#1a841b',
    950: '#000000',
  },
}
SCSS
$custom: #1a841b;
$custom-light: #6ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#1a841b",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 120.566,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.16692,
    "h": 142.9
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#1A841B
secondary
#B842B6
accent
#3EE8EA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A841B

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

Preview Lab → · Contrast checker → · Palette generator →

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