#126F29#126F29

#126F29 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.134 H 146.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#126F29
RGBrgb(18, 111, 41)
HSLhsl(135, 72%, 25%)
HSVhsv(135, 84%, 44%)
CMYKcmyk(83.8%, 0%, 63.1%, 56.5%)
CIE-LABlab(40.67, -41.54, 31.14)
CIE-LCHlch(40.67, 51.91, 143.14°)
OKLaboklab(47.47% -0.1117 0.0734)
OKLCHoklch(47.47% 0.134 146.7)
XYZxyz(6.3336, 11.6568, 4.0136)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F29 #6F1258
analogous
#296F12 #126F29 #126F58
triadic
#126F29 #29126F #6F2912
tetradic
#126F29 #12296F #6F1258 #6F5812
square
#126F29 #12296F #6F1258 #6F5812
split-complementary
#126F29 #58126F #6F1229
monochromatic
#041A0A #093A16 #126F29 #1BA43C #23D850

Accessibility & contrast

On white

6.30
#126F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126F29
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F29#FFFFFF#000000##FFFFFF
##126F291.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716422
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f29;
/* rgb */ color: rgb(18, 111, 41);
/* oklch */ color: oklch(47.5% 0.134 146.7);
Tailwind
colors: {
  custom: {
    50: '#639965',
    500: '#126f29',
    950: '#000000',
  },
}
SCSS
$custom: #126f29;
$custom-light: #639965;
$custom-dark: #000000;
JSON
{
  "hex": "#126f29",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 134.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47473,
    "c": 0.13369,
    "h": 146.7
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#126F29
secondary
#A6378B
accent
#39C2EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #126F29

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

Preview Lab → · Contrast checker → · Palette generator →

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