#1A841F#1A841F

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

Color values

HEX#1A841F
RGBrgb(26, 132, 31)
HSLhsl(123, 67%, 31%)
HSVhsv(123, 80%, 52%)
CMYKcmyk(80.3%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.03, -48.75, 43.52)
CIE-LCHlch(48.03, 65.35, 138.25°)
OKLaboklab(53.6% -0.1321 0.0983)
OKLCHoklch(53.6% 0.165 143.3)
XYZxyz(8.9240, 16.8200, 4.0723)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A841F #841A7F
analogous
#4A841A #1A841F #1A8454
triadic
#1A841F #1F1A84 #841F1A
tetradic
#1A841F #1A4A84 #841A7F #84541A
square
#1A841F #1A4A84 #841A7F #84541A
split-complementary
#1A841F #541A84 #841A4A
monochromatic
#061E07 #105113 #1A841F #24B72B #3FD946

Accessibility & contrast

On white

4.81
#1A841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A841F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A841F#FFFFFF#000000##FFFFFF
##1A841F1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a841f;
/* rgb */ color: rgb(26, 132, 31);
/* oklch */ color: oklch(53.6% 0.165 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba962',
    500: '#1a841f',
    950: '#000000',
  },
}
SCSS
$custom: #1a841f;
$custom-light: #6ba962;
$custom-dark: #000000;
JSON
{
  "hex": "#1a841f",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 122.83,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.16467,
    "h": 143.3
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#1A841F
secondary
#B842B2
accent
#3EE2EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1A841F

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

Preview Lab → · Contrast checker → · Palette generator →

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