#126A20#126A20

#126A20 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.135 H 145.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#126A20
RGBrgb(18, 106, 32)
HSLhsl(130, 71%, 24%)
HSVhsv(130, 83%, 42%)
CMYKcmyk(83%, 0%, 69.8%, 58.4%)
CIE-LABlab(38.80, -40.89, 33.39)
CIE-LCHlch(38.80, 52.79, 140.77°)
OKLaboklab(45.89% -0.1103 0.0773)
OKLCHoklch(45.89% 0.135 145)
XYZxyz(5.6638, 10.5403, 3.1022)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A20 #6A125C
analogous
#306A12 #126A20 #126A4C
triadic
#126A20 #20126A #6A2012
tetradic
#126A20 #12306A #6A125C #6A4C12
square
#126A20 #12306A #6A125C #6A4C12
split-complementary
#126A20 #4C126A #6A1230
monochromatic
#041A08 #093610 #126A20 #1B9E30 #24D340

Accessibility & contrast

On white

6.76
#126A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#126A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A20
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A20#FFFFFF#000000##FFFFFF
##126A201.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F16
Deuteranopia (green-blind)
#625927
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a20;
/* rgb */ color: rgb(18, 106, 32);
/* oklch */ color: oklch(45.9% 0.135 145.0);
Tailwind
colors: {
  custom: {
    50: '#62965f',
    500: '#126a20',
    950: '#000000',
  },
}
SCSS
$custom: #126a20;
$custom-light: #62965f;
$custom-dark: #000000;
JSON
{
  "hex": "#126a20",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 129.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.13468,
    "h": 145
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#126A20
secondary
#A23690
accent
#3AD1EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126A20

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

Preview Lab → · Contrast checker → · Palette generator →

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