#1A841C#1A841C

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

Color values

HEX#1A841C
RGBrgb(26, 132, 28)
HSLhsl(121, 67%, 31%)
HSVhsv(121, 80%, 52%)
CMYKcmyk(80.3%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.01, -48.99, 44.59)
CIE-LCHlch(48.01, 66.24, 137.69°)
OKLaboklab(53.58% -0.1329 0.1001)
OKLCHoklch(53.58% 0.166 143)
XYZxyz(8.8863, 16.8049, 3.8737)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A841C #841A82
analogous
#4D841A #1A841C #1A8451
triadic
#1A841C #1C1A84 #841C1A
tetradic
#1A841C #1A4D84 #841A82 #84511A
square
#1A841C #1A4D84 #841A82 #84511A
split-complementary
#1A841C #511A84 #841A4D
monochromatic
#061E06 #105111 #1A841C #24B727 #3FD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A841C#FFFFFF#000000##FFFFFF
##1A841C1.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)
#877704
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a841c;
/* rgb */ color: rgb(26, 132, 28);
/* oklch */ color: oklch(53.6% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba960',
    500: '#1a841c',
    950: '#000000',
  },
}
SCSS
$custom: #1a841c;
$custom-light: #6ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#1a841c",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 121.132,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.16638,
    "h": 143
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#1A841C
secondary
#B842B5
accent
#3EE7EA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A841C

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

Preview Lab → · Contrast checker → · Palette generator →

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