#126E19#126E19

#126E19 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.0% C 0.145 H 143.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#126E19
RGBrgb(18, 110, 25)
HSLhsl(125, 72%, 25%)
HSVhsv(125, 84%, 43%)
CMYKcmyk(83.6%, 0%, 77.3%, 56.9%)
CIE-LABlab(40.16, -42.99, 37.84)
CIE-LCHlch(40.16, 57.28, 138.65°)
OKLaboklab(47.01% -0.1164 0.0857)
OKLCHoklch(47.01% 0.145 143.6)
XYZxyz(6.0005, 11.3499, 2.7940)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E19 #6E1267
analogous
#396E12 #126E19 #126E47
triadic
#126E19 #19126E #6E1912
tetradic
#126E19 #12396E #6E1267 #6E4712
square
#126E19 #12396E #6E1267 #6E4712
split-complementary
#126E19 #47126E #6E1239
monochromatic
#041A06 #09390D #126E19 #1BA325 #23D731

Accessibility & contrast

On white

6.42
#126E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126E19
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E19#FFFFFF#000000##FFFFFF
##126E191.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e19;
/* rgb */ color: rgb(18, 110, 25);
/* oklch */ color: oklch(47.0% 0.145 143.6);
Tailwind
colors: {
  custom: {
    50: '#63995c',
    500: '#126e19',
    950: '#000000',
  },
}
SCSS
$custom: #126e19;
$custom-light: #63995c;
$custom-dark: #000000;
JSON
{
  "hex": "#126e19",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 124.565,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47009,
    "c": 0.14452,
    "h": 143.6
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#126E19
secondary
#A5379D
accent
#39E1EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126E19

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

Preview Lab → · Contrast checker → · Palette generator →

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