#126311#126311

#126311 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.136 H 142.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#126311
RGBrgb(18, 99, 17)
HSLhsl(119, 71%, 23%)
HSVhsv(119, 83%, 39%)
CMYKcmyk(81.8%, 0%, 82.8%, 61.2%)
CIE-LABlab(36.16, -39.86, 36.89)
CIE-LCHlch(36.16, 54.31, 137.22°)
OKLaboklab(43.66% -0.1082 0.0825)
OKLCHoklch(43.66% 0.136 142.7)
XYZxyz(4.8122, 9.0922, 2.0316)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126311 #621163
analogous
#3B6311 #126311 #116339
triadic
#126311 #111263 #631112
tetradic
#126311 #113B63 #621163 #633911
square
#126311 #113B63 #621163 #633911
split-complementary
#126311 #391163 #63113B
monochromatic
#051A04 #092F08 #126311 #1B971A #25CB23

Accessibility & contrast

On white

7.45
#126311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#126311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126311
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126311#FFFFFF#000000##FFFFFF
##1263111.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126311;
/* rgb */ color: rgb(18, 99, 17);
/* oklch */ color: oklch(43.7% 0.136 142.7);
Tailwind
colors: {
  custom: {
    50: '#619056',
    500: '#126311',
    950: '#000000',
  },
}
SCSS
$custom: #126311;
$custom-light: #619056;
$custom-dark: #000000;
JSON
{
  "hex": "#126311",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 119.268,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.13612,
    "h": 142.7
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#126311
secondary
#9A349B
accent
#3AEDEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #126311

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

Preview Lab → · Contrast checker → · Palette generator →

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