#126511#126511

#126511 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.138 H 142.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#126511
RGBrgb(18, 101, 17)
HSLhsl(119, 71%, 23%)
HSVhsv(119, 83%, 40%)
CMYKcmyk(82.2%, 0%, 83.2%, 60.4%)
CIE-LABlab(36.88, -40.55, 37.58)
CIE-LCHlch(36.88, 55.29, 137.18°)
OKLaboklab(44.27% -0.1101 0.084)
OKLCHoklch(44.27% 0.138 142.7)
XYZxyz(5.0040, 9.4758, 2.0955)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126511 #641165
analogous
#3C6511 #126511 #11653A
triadic
#126511 #111265 #651112
tetradic
#126511 #113C65 #641165 #653A11
square
#126511 #113C65 #641165 #653A11
split-complementary
#126511 #3A1165 #65113C
monochromatic
#051A04 #093108 #126511 #1B991A #25CE23

Accessibility & contrast

On white

7.25
#126511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#126511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126511
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126511#FFFFFF#000000##FFFFFF
##1265111.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#006255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126511;
/* rgb */ color: rgb(18, 101, 17);
/* oklch */ color: oklch(44.3% 0.138 142.7);
Tailwind
colors: {
  custom: {
    50: '#619257',
    500: '#126511',
    950: '#000000',
  },
}
SCSS
$custom: #126511;
$custom-light: #619257;
$custom-dark: #000000;
JSON
{
  "hex": "#126511",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 119.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.13849,
    "h": 142.7
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#126511
secondary
#9C359D
accent
#3AEEEC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126511

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

Preview Lab → · Contrast checker → · Palette generator →

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