#126820#126820

#126820 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.132 H 145.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#126820
RGBrgb(18, 104, 32)
HSLhsl(130, 70%, 24%)
HSVhsv(130, 83%, 41%)
CMYKcmyk(82.7%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.08, -40.18, 32.61)
CIE-LCHlch(38.08, 51.74, 140.94°)
OKLaboklab(45.3% -0.1084 0.0756)
OKLCHoklch(45.3% 0.132 145.1)
XYZxyz(5.4601, 10.1329, 3.0343)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126820 #68125A
analogous
#2F6812 #126820 #12684B
triadic
#126820 #201268 #682012
tetradic
#126820 #122F68 #68125A #684B12
square
#126820 #122F68 #68125A #684B12
split-complementary
#126820 #4B1268 #68122F
monochromatic
#051A08 #093410 #126820 #1B9C30 #24D040

Accessibility & contrast

On white

6.94
#126820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#126820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126820
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126820#FFFFFF#000000##FFFFFF
##1268201.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E17
Deuteranopia (green-blind)
#605727
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126820;
/* rgb */ color: rgb(18, 104, 32);
/* oklch */ color: oklch(45.3% 0.132 145.1);
Tailwind
colors: {
  custom: {
    50: '#61945f',
    500: '#126820',
    950: '#000000',
  },
}
SCSS
$custom: #126820;
$custom-light: #61945f;
$custom-dark: #000000;
JSON
{
  "hex": "#126820",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 129.767,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.13214,
    "h": 145.1
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#126820
secondary
#A0368E
accent
#3BD0ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126820

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

Preview Lab → · Contrast checker → · Palette generator →

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