#126A19#126A19

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

Color values

HEX#126A19
RGBrgb(18, 106, 25)
HSLhsl(125, 71%, 24%)
HSVhsv(125, 83%, 42%)
CMYKcmyk(83%, 0%, 76.4%, 58.4%)
CIE-LABlab(38.74, -41.62, 36.39)
CIE-LCHlch(38.74, 55.28, 138.84°)
OKLaboklab(45.82% -0.1126 0.0827)
OKLCHoklch(45.82% 0.14 143.7)
XYZxyz(5.5786, 10.5062, 2.6534)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A19 #6A1263
analogous
#376A12 #126A19 #126A45
triadic
#126A19 #19126A #6A1912
tetradic
#126A19 #12376A #6A1263 #6A4512
square
#126A19 #12376A #6A1263 #6A4512
split-complementary
#126A19 #45126A #6A1237
monochromatic
#041A06 #09360D #126A19 #1B9E25 #24D332

Accessibility & contrast

On white

6.77
#126A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A19
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A19#FFFFFF#000000##FFFFFF
##126A191.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a19;
/* rgb */ color: rgb(18, 106, 25);
/* oklch */ color: oklch(45.8% 0.140 143.7);
Tailwind
colors: {
  custom: {
    50: '#62965b',
    500: '#126a19',
    950: '#000000',
  },
}
SCSS
$custom: #126a19;
$custom-light: #62965b;
$custom-dark: #000000;
JSON
{
  "hex": "#126a19",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 124.773,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.1397,
    "h": 143.7
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#126A19
secondary
#A23699
accent
#3ADFEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A19

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

Preview Lab → · Contrast checker → · Palette generator →

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