#126A29#126A29

#126A29 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.127 H 147.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#126A29
RGBrgb(18, 106, 41)
HSLhsl(136, 71%, 24%)
HSVhsv(136, 83%, 42%)
CMYKcmyk(83%, 0%, 61.3%, 58.4%)
CIE-LABlab(38.89, -39.72, 29.07)
CIE-LCHlch(38.89, 49.22, 143.80°)
OKLaboklab(46% -0.1068 0.0689)
OKLCHoklch(46% 0.127 147.2)
XYZxyz(5.8033, 10.5961, 3.8368)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A29 #6A1253
analogous
#276A12 #126A29 #126A55
triadic
#126A29 #29126A #6A2912
tetradic
#126A29 #12276A #6A1253 #6A5512
square
#126A29 #12276A #6A1253 #6A5512
split-complementary
#126A29 #55126A #6A1227
monochromatic
#041A0A #093615 #126A29 #1B9E3D #24D351

Accessibility & contrast

On white

6.73
#126A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#126A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A29
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A29#FFFFFF#000000##FFFFFF
##126A291.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6022
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a29;
/* rgb */ color: rgb(18, 106, 41);
/* oklch */ color: oklch(46.0% 0.127 147.2);
Tailwind
colors: {
  custom: {
    50: '#619665',
    500: '#126a29',
    950: '#000000',
  },
}
SCSS
$custom: #126a29;
$custom-light: #619665;
$custom-dark: #000000;
JSON
{
  "hex": "#126a29",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 41
  },
  "hsl": {
    "h": 135.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.12711,
    "h": 147.2
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#126A29
secondary
#A23685
accent
#3ABFEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A29

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

Preview Lab → · Contrast checker → · Palette generator →

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