#126A27#126A27

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

Color values

HEX#126A27
RGBrgb(18, 106, 39)
HSLhsl(134, 71%, 24%)
HSVhsv(134, 83%, 42%)
CMYKcmyk(83%, 0%, 63.2%, 58.4%)
CIE-LABlab(38.87, -40.00, 30.07)
CIE-LCHlch(38.87, 50.04, 143.07°)
OKLaboklab(45.97% -0.1076 0.0709)
OKLCHoklch(45.97% 0.129 146.6)
XYZxyz(5.7693, 10.5825, 3.6576)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A27 #6A1255
analogous
#296A12 #126A27 #126A53
triadic
#126A27 #27126A #6A2712
tetradic
#126A27 #12296A #6A1255 #6A5312
square
#126A27 #12296A #6A1255 #6A5312
split-complementary
#126A27 #53126A #6A1229
monochromatic
#041A0A #093614 #126A27 #1B9E3A #24D34D

Accessibility & contrast

On white

6.74
#126A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A27
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A27#FFFFFF#000000##FFFFFF
##126A271.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a27;
/* rgb */ color: rgb(18, 106, 39);
/* oklch */ color: oklch(46.0% 0.129 146.6);
Tailwind
colors: {
  custom: {
    50: '#619664',
    500: '#126a27',
    950: '#000000',
  },
}
SCSS
$custom: #126a27;
$custom-light: #619664;
$custom-dark: #000000;
JSON
{
  "hex": "#126a27",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 39
  },
  "hsl": {
    "h": 134.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.12889,
    "h": 146.6
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#126A27
secondary
#A23688
accent
#3AC3EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126A27

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

Preview Lab → · Contrast checker → · Palette generator →

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