#1A500C#1A500C

#1A500C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.112 H 140.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1A500C
RGBrgb(26, 80, 12)
HSLhsl(108, 74%, 18%)
HSVhsv(108, 85%, 31%)
CMYKcmyk(67.5%, 0%, 85%, 68.6%)
CIE-LABlab(29.37, -31.45, 32.22)
CIE-LCHlch(29.37, 45.02, 134.31°)
OKLaboklab(38.08% -0.0863 0.0719)
OKLCHoklch(38.08% 0.112 140.2)
XYZxyz(3.3609, 5.9832, 1.3255)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A500C #420C50
analogous
#3C500C #1A500C #0C5020
triadic
#1A500C #0C1A50 #500C1A
tetradic
#1A500C #0C3C50 #420C50 #50200C
square
#1A500C #0C3C50 #420C50 #50200C
split-complementary
#1A500C #200C50 #500C3C
monochromatic
#091B04 #091B04 #1A500C #2B8514 #3DBA1C

Accessibility & contrast

On white

9.56
#1A500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1A500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A500C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A500C#FFFFFF#000000##FFFFFF
##1A500C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#124D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a500c;
/* rgb */ color: rgb(26, 80, 12);
/* oklch */ color: oklch(38.1% 0.112 140.2);
Tailwind
colors: {
  custom: {
    50: '#5f8251',
    500: '#1a500c',
    950: '#000000',
  },
}
SCSS
$custom: #1a500c;
$custom-light: #5f8251;
$custom-dark: #000000;
JSON
{
  "hex": "#1a500c",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 107.647,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38076,
    "c": 0.11232,
    "h": 140.2
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#1A500C
secondary
#782C8B
accent
#37F1CA
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A500C

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

Preview Lab → · Contrast checker → · Palette generator →

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