#126F1A#126F1A

#126F1A is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.145 H 143.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#126F1A
RGBrgb(18, 111, 26)
HSLhsl(125, 72%, 25%)
HSVhsv(125, 84%, 44%)
CMYKcmyk(83.8%, 0%, 76.6%, 56.5%)
CIE-LABlab(40.53, -43.25, 37.81)
CIE-LCHlch(40.53, 57.45, 138.83°)
OKLaboklab(47.31% -0.117 0.0858)
OKLCHoklch(47.31% 0.145 143.8)
XYZxyz(6.1199, 11.5713, 2.8880)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F1A #6F1267
analogous
#396F12 #126F1A #126F48
triadic
#126F1A #1A126F #6F1A12
tetradic
#126F1A #12396F #6F1267 #6F4812
square
#126F1A #12396F #6F1267 #6F4812
split-complementary
#126F1A #48126F #6F1239
monochromatic
#041A06 #093A0E #126F1A #1BA426 #23D833

Accessibility & contrast

On white

6.34
#126F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F1A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F1A#FFFFFF#000000##FFFFFF
##126F1A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f1a;
/* rgb */ color: rgb(18, 111, 26);
/* oklch */ color: oklch(47.3% 0.145 143.8);
Tailwind
colors: {
  custom: {
    50: '#64995c',
    500: '#126f1a',
    950: '#000000',
  },
}
SCSS
$custom: #126f1a;
$custom-light: #64995c;
$custom-dark: #000000;
JSON
{
  "hex": "#126f1a",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 125.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.14507,
    "h": 143.8
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#126F1A
secondary
#A6379D
accent
#39DFEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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