#1A5213#1A5213

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

Color values

HEX#1A5213
RGBrgb(26, 82, 19)
HSLhsl(113, 62%, 20%)
HSVhsv(113, 77%, 32%)
CMYKcmyk(68.3%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.16, -31.66, 30.15)
CIE-LCHlch(30.16, 43.72, 136.40°)
OKLaboklab(38.75% -0.0864 0.0687)
OKLCHoklch(38.75% 0.11 141.5)
XYZxyz(3.5607, 6.3009, 1.6445)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5213 #4B1352
analogous
#3A5213 #1A5213 #13522B
triadic
#1A5213 #131A52 #52131A
tetradic
#1A5213 #133A52 #4B1352 #522B13
square
#1A5213 #133A52 #4B1352 #522B13
split-complementary
#1A5213 #2B1352 #52133A
monochromatic
#081906 #0A2007 #1A5213 #2A841F #3AB52A

Accessibility & contrast

On white

9.29
#1A5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A5213
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5213#FFFFFF#000000##FFFFFF
##1A52131.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#104F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a5213;
/* rgb */ color: rgb(26, 82, 19);
/* oklch */ color: oklch(38.7% 0.110 141.5);
Tailwind
colors: {
  custom: {
    50: '#5f8355',
    500: '#1a5213',
    950: '#000000',
  },
}
SCSS
$custom: #1a5213;
$custom-light: #5f8355;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5213",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 113.333,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.11039,
    "h": 141.5
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#1A5213
secondary
#81368A
accent
#42E5D3
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #1A5213

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

Preview Lab → · Contrast checker → · Palette generator →

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