#1A510F#1A510F

#1A510F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.112 H 140.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1A510F
RGBrgb(26, 81, 15)
HSLhsl(110, 69%, 19%)
HSVhsv(110, 81%, 32%)
CMYKcmyk(67.9%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.76, -31.62, 31.44)
CIE-LCHlch(29.76, 44.59, 135.16°)
OKLaboklab(38.41% -0.0865 0.0708)
OKLCHoklch(38.41% 0.112 140.7)
XYZxyz(3.4545, 6.1386, 1.4547)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A510F #460F51
analogous
#3B510F #1A510F #0F5125
triadic
#1A510F #0F1A51 #510F1A
tetradic
#1A510F #0F3B51 #460F51 #51250F
square
#1A510F #0F3B51 #460F51 #51250F
split-complementary
#1A510F #250F51 #510F3B
monochromatic
#081A05 #091D05 #1A510F #2B8519 #3BB822

Accessibility & contrast

On white

9.43
#1A510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1A510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A510F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A510F#FFFFFF#000000##FFFFFF
##1A510F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#4D4416
Tritanopia (blue-blind)
#114E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a510f;
/* rgb */ color: rgb(26, 81, 15);
/* oklch */ color: oklch(38.4% 0.112 140.7);
Tailwind
colors: {
  custom: {
    50: '#5f8253',
    500: '#1a510f',
    950: '#000000',
  },
}
SCSS
$custom: #1a510f;
$custom-light: #5f8253;
$custom-dark: #000000;
JSON
{
  "hex": "#1a510f",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 110,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.11181,
    "h": 140.7
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#1A510F
secondary
#7C318B
accent
#3CECCE
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A510F

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

Preview Lab → · Contrast checker → · Palette generator →

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