#126F1B#126F1B

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

Color values

HEX#126F1B
RGBrgb(18, 111, 27)
HSLhsl(126, 72%, 25%)
HSVhsv(126, 84%, 44%)
CMYKcmyk(83.8%, 0%, 75.7%, 56.5%)
CIE-LABlab(40.53, -43.15, 37.42)
CIE-LCHlch(40.53, 57.12, 139.07°)
OKLaboklab(47.32% -0.1167 0.0851)
OKLCHoklch(47.32% 0.144 143.9)
XYZxyz(6.1313, 11.5759, 2.9479)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F1B #6F1266
analogous
#386F12 #126F1B #126F49
triadic
#126F1B #1B126F #6F1B12
tetradic
#126F1B #12386F #6F1266 #6F4912
square
#126F1B #12386F #6F1266 #6F4912
split-complementary
#126F1B #49126F #6F1238
monochromatic
#041A06 #093A0E #126F1B #1BA428 #23D835

Accessibility & contrast

On white

6.33
#126F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F1B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F1B#FFFFFF#000000##FFFFFF
##126F1B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f1b;
/* rgb */ color: rgb(18, 111, 27);
/* oklch */ color: oklch(47.3% 0.144 143.9);
Tailwind
colors: {
  custom: {
    50: '#63995d',
    500: '#126f1b',
    950: '#000000',
  },
}
SCSS
$custom: #126f1b;
$custom-light: #63995d;
$custom-dark: #000000;
JSON
{
  "hex": "#126f1b",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 125.806,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.14442,
    "h": 143.9
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#126F1B
secondary
#A6379B
accent
#39DDEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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