#1A6315#1A6315

#1A6315 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.131 H 142.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1A6315
RGBrgb(26, 99, 21)
HSLhsl(116, 65%, 24%)
HSVhsv(116, 79%, 39%)
CMYKcmyk(73.7%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.36, -38.06, 35.64)
CIE-LCHlch(36.36, 52.14, 136.88°)
OKLaboklab(43.89% -0.1036 0.0805)
OKLCHoklch(43.89% 0.131 142.2)
XYZxyz(5.0229, 9.1969, 2.2198)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6315 #5E1563
analogous
#416315 #1A6315 #156337
triadic
#1A6315 #151A63 #63151A
tetradic
#1A6315 #154163 #5E1563 #633715
square
#1A6315 #154163 #5E1563 #633715
split-complementary
#1A6315 #371563 #631541
monochromatic
#071905 #0D310A #1A6315 #279520 #35C82A

Accessibility & contrast

On white

7.40
#1A6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1A6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A6315
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6315#FFFFFF#000000##FFFFFF
##1A63151.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#076054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1a6315;
/* rgb */ color: rgb(26, 99, 21);
/* oklch */ color: oklch(43.9% 0.131 142.2);
Tailwind
colors: {
  custom: {
    50: '#639058',
    500: '#1a6315',
    950: '#000000',
  },
}
SCSS
$custom: #1a6315;
$custom-light: #639058;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6315",
  "rgb": {
    "r": 26,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 116.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.13119,
    "h": 142.2
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#1A6315
secondary
#943A9A
accent
#40E8DD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #1A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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