#126F3D#126F3D

#126F3D is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.115 H 153.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#126F3D
RGBrgb(18, 111, 61)
HSLhsl(148, 72%, 25%)
HSVhsv(148, 84%, 44%)
CMYKcmyk(83.8%, 0%, 45%, 56.5%)
CIE-LABlab(40.95, -38.16, 20.67)
CIE-LCHlch(40.95, 43.39, 151.56°)
OKLaboklab(47.8% -0.1026 0.0511)
OKLCHoklch(47.8% 0.115 153.5)
XYZxyz(6.7756, 11.8336, 6.3410)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F3D #6F1244
analogous
#156F12 #126F3D #126F6B
triadic
#126F3D #3D126F #6F3D12
tetradic
#126F3D #12156F #6F1244 #6F6B12
square
#126F3D #12156F #6F1244 #6F6B12
split-complementary
#126F3D #6B126F #6F1215
monochromatic
#041A0E #093A20 #126F3D #1BA45A #23D877

Accessibility & contrast

On white

6.24
#126F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#126F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F3D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F3D#FFFFFF#000000##FFFFFF
##126F3D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6539
Deuteranopia (green-blind)
#645E40
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126f3d;
/* rgb */ color: rgb(18, 111, 61);
/* oklch */ color: oklch(47.8% 0.115 153.5);
Tailwind
colors: {
  custom: {
    50: '#629973',
    500: '#126f3d',
    950: '#000000',
  },
}
SCSS
$custom: #126f3d;
$custom-light: #629973;
$custom-dark: #000000;
JSON
{
  "hex": "#126f3d",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 61
  },
  "hsl": {
    "h": 147.742,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.11463,
    "h": 153.5
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#126F3D
secondary
#A63773
accent
#399BEF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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