#126A33#126A33

#126A33 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.118 H 150.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#126A33
RGBrgb(18, 106, 51)
HSLhsl(143, 71%, 24%)
HSVhsv(143, 83%, 42%)
CMYKcmyk(83%, 0%, 51.9%, 58.4%)
CIE-LABlab(39.03, -38.10, 23.85)
CIE-LCHlch(39.03, 44.95, 147.95°)
OKLaboklab(46.16% -0.1023 0.058)
OKLCHoklch(46.16% 0.118 150.4)
XYZxyz(6.0005, 10.6750, 4.8756)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A33 #6A1249
analogous
#1D6A12 #126A33 #126A5F
triadic
#126A33 #33126A #6A3312
tetradic
#126A33 #121D6A #6A1249 #6A5F12
square
#126A33 #121D6A #6A1249 #6A5F12
split-complementary
#126A33 #5F126A #6A121D
monochromatic
#041A0D #09361A #126A33 #1B9E4C #24D365

Accessibility & contrast

On white

6.70
#126A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#126A33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A33
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A33#FFFFFF#000000##FFFFFF
##126A331.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602E
Deuteranopia (green-blind)
#615937
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a33;
/* rgb */ color: rgb(18, 106, 51);
/* oklch */ color: oklch(46.2% 0.118 150.4);
Tailwind
colors: {
  custom: {
    50: '#61956c',
    500: '#126a33',
    950: '#000000',
  },
}
SCSS
$custom: #126a33;
$custom-light: #61956c;
$custom-dark: #000000;
JSON
{
  "hex": "#126a33",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 51
  },
  "hsl": {
    "h": 142.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.11762,
    "h": 150.4
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#126A33
secondary
#A23679
accent
#3AAAEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126A33

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

Preview Lab → · Contrast checker → · Palette generator →

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