#126720#126720

#126720 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.131 H 145.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#126720
RGBrgb(18, 103, 32)
HSLhsl(130, 70%, 24%)
HSVhsv(130, 83%, 40%)
CMYKcmyk(82.5%, 0%, 68.9%, 59.6%)
CIE-LABlab(37.72, -39.82, 32.21)
CIE-LCHlch(37.72, 51.22, 141.03°)
OKLaboklab(45% -0.1074 0.0748)
OKLCHoklch(45% 0.131 145.2)
XYZxyz(5.3600, 9.9327, 3.0009)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126720 #671259
analogous
#2E6712 #126720 #12674A
triadic
#126720 #201267 #672012
tetradic
#126720 #122E67 #671259 #674A12
square
#126720 #122E67 #671259 #674A12
split-complementary
#126720 #4A1267 #67122E
monochromatic
#051A08 #093310 #126720 #1B9B30 #24CF40

Accessibility & contrast

On white

7.03
#126720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#126720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126720
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126720#FFFFFF#000000##FFFFFF
##1267201.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#5F5626
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126720;
/* rgb */ color: rgb(18, 103, 32);
/* oklch */ color: oklch(45.0% 0.131 145.2);
Tailwind
colors: {
  custom: {
    50: '#61935f',
    500: '#126720',
    950: '#000000',
  },
}
SCSS
$custom: #126720;
$custom-light: #61935f;
$custom-dark: #000000;
JSON
{
  "hex": "#126720",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 129.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44998,
    "c": 0.13086,
    "h": 145.2
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#126720
secondary
#9F368D
accent
#3BD0ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126720

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

Preview Lab → · Contrast checker → · Palette generator →

#126720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva