#1A5C12#1A5C12

#1A5C12 is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.8% C 0.124 H 141.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1A5C12
RGBrgb(26, 92, 18)
HSLhsl(114, 67%, 22%)
HSVhsv(114, 80%, 36%)
CMYKcmyk(71.7%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.81, -35.68, 34.27)
CIE-LCHlch(33.81, 49.48, 136.15°)
OKLaboklab(41.77% -0.0974 0.0772)
OKLCHoklch(41.77% 0.124 141.6)
XYZxyz(4.3621, 7.9171, 1.8704)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5C12 #54125C
analogous
#3F5C12 #1A5C12 #125C2F
triadic
#1A5C12 #121A5C #5C121A
tetradic
#1A5C12 #123F5C #54125C #5C2F12
square
#1A5C12 #123F5C #54125C #5C2F12
split-complementary
#1A5C12 #2F125C #5C123F
monochromatic
#071A05 #0C2908 #1A5C12 #288F1C #37C226

Accessibility & contrast

On white

8.13
#1A5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5C12
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5C12#FFFFFF#000000##FFFFFF
##1A5C121.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#0C594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5c12;
/* rgb */ color: rgb(26, 92, 18);
/* oklch */ color: oklch(41.8% 0.124 141.6);
Tailwind
colors: {
  custom: {
    50: '#628b56',
    500: '#1a5c12',
    950: '#000000',
  },
}
SCSS
$custom: #1a5c12;
$custom-light: #628b56;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5c12",
  "rgb": {
    "r": 26,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 113.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.12422,
    "h": 141.6
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#1A5C12
secondary
#8A3594
accent
#3EEAD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1A5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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