#126822#126822

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

Color values

HEX#126822
RGBrgb(18, 104, 34)
HSLhsl(131, 70%, 24%)
HSVhsv(131, 83%, 41%)
CMYKcmyk(82.7%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.10, -39.93, 31.67)
CIE-LCHlch(38.10, 50.97, 141.58°)
OKLaboklab(45.32% -0.1076 0.0739)
OKLCHoklch(45.32% 0.131 145.5)
XYZxyz(5.4881, 10.1441, 3.1818)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126822 #681258
analogous
#2D6812 #126822 #12684D
triadic
#126822 #221268 #682212
tetradic
#126822 #122D68 #681258 #684D12
square
#126822 #122D68 #681258 #684D12
split-complementary
#126822 #4D1268 #68122D
monochromatic
#051A09 #093411 #126822 #1B9C33 #24D044

Accessibility & contrast

On white

6.93
#126822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126822
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126822#FFFFFF#000000##FFFFFF
##1268221.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126822;
/* rgb */ color: rgb(18, 104, 34);
/* oklch */ color: oklch(45.3% 0.131 145.5);
Tailwind
colors: {
  custom: {
    50: '#619460',
    500: '#126822',
    950: '#000000',
  },
}
SCSS
$custom: #126822;
$custom-light: #619460;
$custom-dark: #000000;
JSON
{
  "hex": "#126822",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 131.163,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.13053,
    "h": 145.5
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#126822
secondary
#A0368C
accent
#3BCCED
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126822

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

Preview Lab → · Contrast checker → · Palette generator →

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