#126E15#126E15

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

Color values

HEX#126E15
RGBrgb(18, 110, 21)
HSLhsl(122, 72%, 25%)
HSVhsv(122, 84%, 43%)
CMYKcmyk(83.6%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.14, -43.32, 39.32)
CIE-LCHlch(40.14, 58.51, 137.77°)
OKLaboklab(46.98% -0.1174 0.0882)
OKLCHoklch(46.98% 0.147 143.1)
XYZxyz(5.9604, 11.3339, 2.5828)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E15 #6E126B
analogous
#3D6E12 #126E15 #126E43
triadic
#126E15 #15126E #6E1512
tetradic
#126E15 #123D6E #6E126B #6E4312
square
#126E15 #123D6E #6E126B #6E4312
split-complementary
#126E15 #43126E #6E123D
monochromatic
#041A05 #09390B #126E15 #1BA31F #23D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126E15#FFFFFF#000000##FFFFFF
##126E151.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)
#706301
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e15;
/* rgb */ color: rgb(18, 110, 21);
/* oklch */ color: oklch(47.0% 0.147 143.1);
Tailwind
colors: {
  custom: {
    50: '#64995a',
    500: '#126e15',
    950: '#000000',
  },
}
SCSS
$custom: #126e15;
$custom-light: #64995a;
$custom-dark: #000000;
JSON
{
  "hex": "#126e15",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 121.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.14688,
    "h": 143.1
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#126E15
secondary
#A537A2
accent
#39E9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126E15

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

Preview Lab → · Contrast checker → · Palette generator →

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