#126015#126015

#126015 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.130 H 143.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#126015
RGBrgb(18, 96, 21)
HSLhsl(122, 68%, 22%)
HSVhsv(122, 81%, 38%)
CMYKcmyk(81.3%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.10, -38.47, 34.31)
CIE-LCHlch(35.10, 51.55, 138.27°)
OKLaboklab(42.79% -0.1043 0.0777)
OKLCHoklch(42.79% 0.13 143.3)
XYZxyz(4.5674, 8.5479, 2.1185)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126015 #60125D
analogous
#366012 #126015 #12603C
triadic
#126015 #151260 #601512
tetradic
#126015 #123660 #60125D #603C12
square
#126015 #123660 #60125D #603C12
split-complementary
#126015 #3C1260 #601236
monochromatic
#051A06 #082C0A #126015 #1C9420 #25C72C

Accessibility & contrast

On white

7.75
#126015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#126015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126015
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126015#FFFFFF#000000##FFFFFF
##1260151.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126015;
/* rgb */ color: rgb(18, 96, 21);
/* oklch */ color: oklch(42.8% 0.130 143.3);
Tailwind
colors: {
  custom: {
    50: '#608e58',
    500: '#126015',
    950: '#000000',
  },
}
SCSS
$custom: #126015;
$custom-light: #608e58;
$custom-dark: #000000;
JSON
{
  "hex": "#126015",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 122.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.13007,
    "h": 143.3
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#126015
secondary
#983694
accent
#3DE5EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #126015

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

Preview Lab → · Contrast checker → · Palette generator →

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