#126512#126512

#126512 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.138 H 142.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#126512
RGBrgb(18, 101, 18)
HSLhsl(120, 70%, 23%)
HSVhsv(120, 82%, 40%)
CMYKcmyk(82.2%, 0%, 82.2%, 60.4%)
CIE-LABlab(36.89, -40.48, 37.24)
CIE-LCHlch(36.89, 55.00, 137.39°)
OKLaboklab(44.27% -0.1099 0.0834)
OKLCHoklch(44.27% 0.138 142.8)
XYZxyz(5.0120, 9.4790, 2.1376)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126512 #651265
analogous
#3B6512 #126512 #12653B
triadic
#126512 #121265 #651212
tetradic
#126512 #123B65 #651265 #653B12
square
#126512 #123B65 #651265 #653B12
split-complementary
#126512 #3B1265 #65123B
monochromatic
#051A05 #093109 #126512 #1B991B #25CD25

Accessibility & contrast

On white

7.25
#126512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#126512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126512
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126512#FFFFFF#000000##FFFFFF
##1265121.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#006255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126512;
/* rgb */ color: rgb(18, 101, 18);
/* oklch */ color: oklch(44.3% 0.138 142.8);
Tailwind
colors: {
  custom: {
    50: '#619257',
    500: '#126512',
    950: '#000000',
  },
}
SCSS
$custom: #126512;
$custom-light: #619257;
$custom-dark: #000000;
JSON
{
  "hex": "#126512",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.13795,
    "h": 142.8
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#126512
secondary
#9D369D
accent
#3BEDED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126512

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

Preview Lab → · Contrast checker → · Palette generator →

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