#126811#126811

#126811 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.142 H 142.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#126811
RGBrgb(18, 104, 17)
HSLhsl(119, 72%, 24%)
HSVhsv(119, 84%, 41%)
CMYKcmyk(82.7%, 0%, 83.7%, 59.2%)
CIE-LABlab(37.97, -41.58, 38.62)
CIE-LCHlch(37.97, 56.75, 137.12°)
OKLaboklab(45.17% -0.1129 0.0861)
OKLCHoklch(45.17% 0.142 142.7)
XYZxyz(5.3006, 10.0691, 2.1944)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126811 #671168
analogous
#3D6811 #126811 #11683B
triadic
#126811 #111268 #681112
tetradic
#126811 #113D68 #671168 #683B11
square
#126811 #113D68 #671168 #683B11
split-complementary
#126811 #3B1168 #68113D
monochromatic
#051A04 #093308 #126811 #1B9D1A #24D122

Accessibility & contrast

On white

6.97
#126811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#126811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126811
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126811#FFFFFF#000000##FFFFFF
##1268111.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126811;
/* rgb */ color: rgb(18, 104, 17);
/* oklch */ color: oklch(45.2% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#629457',
    500: '#126811',
    950: '#000000',
  },
}
SCSS
$custom: #126811;
$custom-light: #629457;
$custom-dark: #000000;
JSON
{
  "hex": "#126811",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 119.31,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45165,
    "c": 0.14202,
    "h": 142.7
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#126811
secondary
#9F35A0
accent
#39EFED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126811

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

Preview Lab → · Contrast checker → · Palette generator →

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