#126E17#126E17

#126E17 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.146 H 143.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#126E17
RGBrgb(18, 110, 23)
HSLhsl(123, 72%, 25%)
HSVhsv(123, 84%, 43%)
CMYKcmyk(83.6%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.15, -43.17, 38.60)
CIE-LCHlch(40.15, 57.91, 138.20°)
OKLaboklab(46.99% -0.1169 0.087)
OKLCHoklch(46.99% 0.146 143.4)
XYZxyz(5.9796, 11.3416, 2.6844)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E17 #6E1269
analogous
#3B6E12 #126E17 #126E45
triadic
#126E17 #17126E #6E1712
tetradic
#126E17 #123B6E #6E1269 #6E4512
square
#126E17 #123B6E #6E1269 #6E4512
split-complementary
#126E17 #45126E #6E123B
monochromatic
#041A05 #09390C #126E17 #1BA322 #23D72D

Accessibility & contrast

On white

6.43
#126E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E17
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E17#FFFFFF#000000##FFFFFF
##126E171.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706305
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e17;
/* rgb */ color: rgb(18, 110, 23);
/* oklch */ color: oklch(47.0% 0.146 143.4);
Tailwind
colors: {
  custom: {
    50: '#63995b',
    500: '#126e17',
    950: '#000000',
  },
}
SCSS
$custom: #126e17;
$custom-light: #63995b;
$custom-dark: #000000;
JSON
{
  "hex": "#126e17",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 123.261,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46993,
    "c": 0.14573,
    "h": 143.4
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#126E17
secondary
#A5379F
accent
#39E5EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126E17

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

Preview Lab → · Contrast checker → · Palette generator →

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