#126F16#126F16

#126F16 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.147 H 143.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#126F16
RGBrgb(18, 111, 22)
HSLhsl(123, 72%, 25%)
HSVhsv(123, 84%, 44%)
CMYKcmyk(83.8%, 0%, 80.2%, 56.5%)
CIE-LABlab(40.50, -43.58, 39.32)
CIE-LCHlch(40.50, 58.70, 137.95°)
OKLaboklab(47.28% -0.1181 0.0883)
OKLCHoklch(47.28% 0.147 143.2)
XYZxyz(6.0783, 11.5547, 2.6688)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F16 #6F126B
analogous
#3C6F12 #126F16 #126F45
triadic
#126F16 #16126F #6F1612
tetradic
#126F16 #123C6F #6F126B #6F4512
square
#126F16 #123C6F #6F126B #6F4512
split-complementary
#126F16 #45126F #6F123C
monochromatic
#041A05 #093A0C #126F16 #1BA420 #23D82B

Accessibility & contrast

On white

6.34
#126F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F16
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F16#FFFFFF#000000##FFFFFF
##126F161.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716403
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126f16;
/* rgb */ color: rgb(18, 111, 22);
/* oklch */ color: oklch(47.3% 0.147 143.2);
Tailwind
colors: {
  custom: {
    50: '#64995a',
    500: '#126f16',
    950: '#000000',
  },
}
SCSS
$custom: #126f16;
$custom-light: #64995a;
$custom-dark: #000000;
JSON
{
  "hex": "#126f16",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 122.581,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.14749,
    "h": 143.2
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#126F16
secondary
#A637A1
accent
#39E7EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F16

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

Preview Lab → · Contrast checker → · Palette generator →

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