#126315#126315

#126315 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.134 H 143.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#126315
RGBrgb(18, 99, 21)
HSLhsl(122, 69%, 23%)
HSVhsv(122, 82%, 39%)
CMYKcmyk(81.8%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.19, -39.54, 35.41)
CIE-LCHlch(36.19, 53.08, 138.15°)
OKLaboklab(43.69% -0.1072 0.08)
OKLCHoklch(43.69% 0.134 143.2)
XYZxyz(4.8463, 9.1059, 2.2115)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126315 #631260
analogous
#376312 #126315 #12633D
triadic
#126315 #151263 #631512
tetradic
#126315 #123763 #631260 #633D12
square
#126315 #123763 #631260 #633D12
split-complementary
#126315 #3D1263 #631237
monochromatic
#051A05 #092F0A #126315 #1B9720 #25CB2B

Accessibility & contrast

On white

7.44
#126315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#126315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126315
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126315#FFFFFF#000000##FFFFFF
##1263151.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126315;
/* rgb */ color: rgb(18, 99, 21);
/* oklch */ color: oklch(43.7% 0.134 143.2);
Tailwind
colors: {
  custom: {
    50: '#609058',
    500: '#126315',
    950: '#000000',
  },
}
SCSS
$custom: #126315;
$custom-light: #609058;
$custom-dark: #000000;
JSON
{
  "hex": "#126315",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 122.222,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.13376,
    "h": 143.2
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#126315
secondary
#9B3697
accent
#3CE6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #126315

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

Preview Lab → · Contrast checker → · Palette generator →

#126315 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva