#126A15#126A15

#126A15 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.142 H 143.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#126A15
RGBrgb(18, 106, 21)
HSLhsl(122, 71%, 24%)
HSVhsv(122, 83%, 42%)
CMYKcmyk(83%, 0%, 80.2%, 58.4%)
CIE-LABlab(38.71, -41.97, 37.92)
CIE-LCHlch(38.71, 56.56, 137.90°)
OKLaboklab(45.79% -0.1138 0.0853)
OKLCHoklch(45.79% 0.142 143.1)
XYZxyz(5.5385, 10.4901, 2.4422)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A15 #6A1267
analogous
#3B6A12 #126A15 #126A41
triadic
#126A15 #15126A #6A1512
tetradic
#126A15 #123B6A #6A1267 #6A4112
square
#126A15 #123B6A #6A1267 #6A4112
split-complementary
#126A15 #41126A #6A123B
monochromatic
#041A05 #09360B #126A15 #1B9E1F #24D32A

Accessibility & contrast

On white

6.78
#126A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A15
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A15#FFFFFF#000000##FFFFFF
##126A151.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a15;
/* rgb */ color: rgb(18, 106, 21);
/* oklch */ color: oklch(45.8% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#629659',
    500: '#126a15',
    950: '#000000',
  },
}
SCSS
$custom: #126a15;
$custom-light: #629659;
$custom-dark: #000000;
JSON
{
  "hex": "#126a15",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 122.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.14218,
    "h": 143.1
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#126A15
secondary
#A2369E
accent
#3AE8EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A15

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

Preview Lab → · Contrast checker → · Palette generator →

#126A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva