#126D16#126D16

#126D16 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.145 H 143.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#126D16
RGBrgb(18, 109, 22)
HSLhsl(123, 72%, 25%)
HSVhsv(123, 83%, 43%)
CMYKcmyk(83.5%, 0%, 79.8%, 57.3%)
CIE-LABlab(39.79, -42.91, 38.61)
CIE-LCHlch(39.79, 57.73, 138.01°)
OKLaboklab(46.69% -0.1163 0.0869)
OKLCHoklch(46.69% 0.145 143.2)
XYZxyz(5.8625, 11.1231, 2.5969)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D16 #6D1269
analogous
#3C6D12 #126D16 #126D43
triadic
#126D16 #16126D #6D1612
tetradic
#126D16 #123C6D #6D1269 #6D4312
square
#126D16 #123C6D #6D1269 #6D4312
split-complementary
#126D16 #43126D #6D123C
monochromatic
#041A05 #09380B #126D16 #1BA221 #23D62B

Accessibility & contrast

On white

6.51
#126D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#126D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D16
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D16#FFFFFF#000000##FFFFFF
##126D161.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6203
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#006A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d16;
/* rgb */ color: rgb(18, 109, 22);
/* oklch */ color: oklch(46.7% 0.145 143.2);
Tailwind
colors: {
  custom: {
    50: '#63985a',
    500: '#126d16',
    950: '#000000',
  },
}
SCSS
$custom: #126d16;
$custom-light: #63985a;
$custom-dark: #000000;
JSON
{
  "hex": "#126d16",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 122.637,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.14514,
    "h": 143.2
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#126D16
secondary
#A4379F
accent
#39E6EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126D16

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

Preview Lab → · Contrast checker → · Palette generator →

#126D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva