#126F20#126F20

#126F20 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.141 H 144.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#126F20
RGBrgb(18, 111, 32)
HSLhsl(129, 72%, 25%)
HSVhsv(129, 84%, 44%)
CMYKcmyk(83.8%, 0%, 71.2%, 56.5%)
CIE-LABlab(40.57, -42.65, 35.32)
CIE-LCHlch(40.57, 55.37, 140.37°)
OKLaboklab(47.37% -0.1151 0.0813)
OKLCHoklch(47.37% 0.141 144.7)
XYZxyz(6.1942, 11.6010, 3.2790)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F20 #6F1261
analogous
#336F12 #126F20 #126F4E
triadic
#126F20 #20126F #6F2012
tetradic
#126F20 #12336F #6F1261 #6F4E12
square
#126F20 #12336F #6F1261 #6F4E12
split-complementary
#126F20 #4E126F #6F1233
monochromatic
#041A08 #093A11 #126F20 #1BA42F #23D83E

Accessibility & contrast

On white

6.32
#126F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F20
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F20#FFFFFF#000000##FFFFFF
##126F201.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f20;
/* rgb */ color: rgb(18, 111, 32);
/* oklch */ color: oklch(47.4% 0.141 144.7);
Tailwind
colors: {
  custom: {
    50: '#639960',
    500: '#126f20',
    950: '#000000',
  },
}
SCSS
$custom: #126f20;
$custom-light: #639960;
$custom-dark: #000000;
JSON
{
  "hex": "#126f20",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 129.032,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.14093,
    "h": 144.7
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#126F20
secondary
#A63795
accent
#39D3EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126F20

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

Preview Lab → · Contrast checker → · Palette generator →

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