#1A5210#1A5210

#1A5210 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.112 H 140.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1A5210
RGBrgb(26, 82, 16)
HSLhsl(111, 67%, 19%)
HSVhsv(111, 80%, 32%)
CMYKcmyk(68.3%, 0%, 80.5%, 67.8%)
CIE-LABlab(30.14, -31.94, 31.41)
CIE-LCHlch(30.14, 44.79, 135.48°)
OKLaboklab(38.72% -0.0873 0.0709)
OKLCHoklch(38.72% 0.112 140.9)
XYZxyz(3.5366, 6.2913, 1.5181)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5210 #481052
analogous
#3B5210 #1A5210 #105227
triadic
#1A5210 #101A52 #52101A
tetradic
#1A5210 #103B52 #481052 #522710
square
#1A5210 #103B52 #481052 #522710
split-complementary
#1A5210 #271052 #52103B
monochromatic
#081A05 #0A1F06 #1A5210 #2A851A #3AB824

Accessibility & contrast

On white

9.30
#1A5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1A5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5210
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5210#FFFFFF#000000##FFFFFF
##1A52101.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A04
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#114F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a5210;
/* rgb */ color: rgb(26, 82, 16);
/* oklch */ color: oklch(38.7% 0.112 140.9);
Tailwind
colors: {
  custom: {
    50: '#5f8353',
    500: '#1a5210',
    950: '#000000',
  },
}
SCSS
$custom: #1a5210;
$custom-light: #5f8353;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5210",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 110.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38718,
    "c": 0.11248,
    "h": 140.9
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#1A5210
secondary
#7E328C
accent
#3EEAD0
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #1A5210

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

Preview Lab → · Contrast checker → · Palette generator →

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