#126F24#126F24

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

Color values

HEX#126F24
RGBrgb(18, 111, 36)
HSLhsl(132, 72%, 25%)
HSVhsv(132, 84%, 44%)
CMYKcmyk(83.8%, 0%, 67.6%, 56.5%)
CIE-LABlab(40.61, -42.18, 33.52)
CIE-LCHlch(40.61, 53.88, 141.53°)
OKLaboklab(47.41% -0.1137 0.078)
OKLCHoklch(47.41% 0.138 145.5)
XYZxyz(6.2519, 11.6241, 3.5829)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F24 #6F125D
analogous
#2E6F12 #126F24 #126F52
triadic
#126F24 #24126F #6F2412
tetradic
#126F24 #122E6F #6F125D #6F5212
square
#126F24 #122E6F #6F125D #6F5212
split-complementary
#126F24 #52126F #6F122E
monochromatic
#041A09 #093A13 #126F24 #1BA435 #23D846

Accessibility & contrast

On white

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

On black

3.33
#126F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126F24#FFFFFF#000000##FFFFFF
##126F241.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641B
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f24;
/* rgb */ color: rgb(18, 111, 36);
/* oklch */ color: oklch(47.4% 0.138 145.5);
Tailwind
colors: {
  custom: {
    50: '#639962',
    500: '#126f24',
    950: '#000000',
  },
}
SCSS
$custom: #126f24;
$custom-light: #639962;
$custom-dark: #000000;
JSON
{
  "hex": "#126f24",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 131.613,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.13785,
    "h": 145.5
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#126F24
secondary
#A63791
accent
#39CCEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126F24

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

Preview Lab → · Contrast checker → · Palette generator →

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