#126A17#126A17

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

Color values

HEX#126A17
RGBrgb(18, 106, 23)
HSLhsl(123, 71%, 24%)
HSVhsv(123, 83%, 42%)
CMYKcmyk(83%, 0%, 78.3%, 58.4%)
CIE-LABlab(38.72, -41.80, 37.17)
CIE-LCHlch(38.72, 55.94, 138.35°)
OKLaboklab(45.81% -0.1132 0.084)
OKLCHoklch(45.81% 0.141 143.4)
XYZxyz(5.5578, 10.4979, 2.5438)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A17 #6A1265
analogous
#396A12 #126A17 #126A43
triadic
#126A17 #17126A #6A1712
tetradic
#126A17 #12396A #6A1265 #6A4312
square
#126A17 #12396A #6A1265 #6A4312
split-complementary
#126A17 #43126A #6A1239
monochromatic
#041A06 #09360C #126A17 #1B9E22 #24D32E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126A17#FFFFFF#000000##FFFFFF
##126A171.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)
#6C5F07
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a17;
/* rgb */ color: rgb(18, 106, 23);
/* oklch */ color: oklch(45.8% 0.141 143.4);
Tailwind
colors: {
  custom: {
    50: '#62965a',
    500: '#126a17',
    950: '#000000',
  },
}
SCSS
$custom: #126a17;
$custom-light: #62965a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a17",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 123.409,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.14098,
    "h": 143.4
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#126A17
secondary
#A2369B
accent
#3AE4EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A17

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

Preview Lab → · Contrast checker → · Palette generator →

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