#126A35#126A35

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

Color values

HEX#126A35
RGBrgb(18, 106, 53)
HSLhsl(144, 71%, 24%)
HSVhsv(144, 83%, 42%)
CMYKcmyk(83%, 0%, 50%, 58.4%)
CIE-LABlab(39.06, -37.73, 22.77)
CIE-LCHlch(39.06, 44.07, 148.89°)
OKLaboklab(46.19% -0.1013 0.0557)
OKLCHoklch(46.19% 0.116 151.2)
XYZxyz(6.0456, 10.6930, 5.1128)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A35 #6A1247
analogous
#1B6A12 #126A35 #126A61
triadic
#126A35 #35126A #6A3512
tetradic
#126A35 #121B6A #6A1247 #6A6112
square
#126A35 #121B6A #6A1247 #6A6112
split-complementary
#126A35 #61126A #6A121B
monochromatic
#041A0D #09361B #126A35 #1B9E4F #24D369

Accessibility & contrast

On white

6.69
#126A35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A35
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A35#FFFFFF#000000##FFFFFF
##126A351.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a35;
/* rgb */ color: rgb(18, 106, 53);
/* oklch */ color: oklch(46.2% 0.116 151.2);
Tailwind
colors: {
  custom: {
    50: '#61956d',
    500: '#126a35',
    950: '#000000',
  },
}
SCSS
$custom: #126a35;
$custom-light: #61956d;
$custom-dark: #000000;
JSON
{
  "hex": "#126a35",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 53
  },
  "hsl": {
    "h": 143.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46194,
    "c": 0.11563,
    "h": 151.2
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#126A35
secondary
#A23677
accent
#3AA6EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126A35

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

Preview Lab → · Contrast checker → · Palette generator →

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