#126A30#126A30

#126A30 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.121 H 149.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#126A30
RGBrgb(18, 106, 48)
HSLhsl(140, 71%, 24%)
HSVhsv(140, 83%, 42%)
CMYKcmyk(83%, 0%, 54.7%, 58.4%)
CIE-LABlab(38.98, -38.62, 25.45)
CIE-LCHlch(38.98, 46.25, 146.61°)
OKLaboklab(46.11% -0.1037 0.0615)
OKLCHoklch(46.11% 0.121 149.3)
XYZxyz(5.9365, 10.6493, 4.5384)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A30 #6A124C
analogous
#206A12 #126A30 #126A5C
triadic
#126A30 #30126A #6A3012
tetradic
#126A30 #12206A #6A124C #6A5C12
square
#126A30 #12206A #6A124C #6A5C12
split-complementary
#126A30 #5C126A #6A1220
monochromatic
#041A0C #093618 #126A30 #1B9E48 #24D35F

Accessibility & contrast

On white

6.71
#126A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#126A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A30
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A30#FFFFFF#000000##FFFFFF
##126A301.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a30;
/* rgb */ color: rgb(18, 106, 48);
/* oklch */ color: oklch(46.1% 0.121 149.3);
Tailwind
colors: {
  custom: {
    50: '#61956a',
    500: '#126a30',
    950: '#000000',
  },
}
SCSS
$custom: #126a30;
$custom-light: #61956a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a30",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 48
  },
  "hsl": {
    "h": 140.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.12056,
    "h": 149.3
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#126A30
secondary
#A2367D
accent
#3AB0EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A30

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

Preview Lab → · Contrast checker → · Palette generator →

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