#126B20#126B20

#126B20 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.136 H 144.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#126B20
RGBrgb(18, 107, 32)
HSLhsl(129, 71%, 25%)
HSVhsv(129, 83%, 42%)
CMYKcmyk(83.2%, 0%, 70.1%, 58%)
CIE-LABlab(39.15, -41.24, 33.78)
CIE-LCHlch(39.15, 53.31, 140.68°)
OKLaboklab(46.19% -0.1113 0.0781)
OKLCHoklch(46.19% 0.136 144.9)
XYZxyz(5.7675, 10.7476, 3.1367)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126B20 #6B125D
analogous
#316B12 #126B20 #126B4D
triadic
#126B20 #20126B #6B2012
tetradic
#126B20 #12316B #6B125D #6B4D12
square
#126B20 #12316B #6B125D #6B4D12
split-complementary
#126B20 #4D126B #6B1231
monochromatic
#041A08 #093710 #126B20 #1B9F30 #24D43F

Accessibility & contrast

On white

6.67
#126B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#126B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126B20
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126B20#FFFFFF#000000##FFFFFF
##126B201.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#635A27
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126b20;
/* rgb */ color: rgb(18, 107, 32);
/* oklch */ color: oklch(46.2% 0.136 144.9);
Tailwind
colors: {
  custom: {
    50: '#62965f',
    500: '#126b20',
    950: '#000000',
  },
}
SCSS
$custom: #126b20;
$custom-light: #62965f;
$custom-dark: #000000;
JSON
{
  "hex": "#126b20",
  "rgb": {
    "r": 18,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 129.438,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.13595,
    "h": 144.9
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#126B20
secondary
#A23691
accent
#3AD2EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126B20

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

Preview Lab → · Contrast checker → · Palette generator →

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