#126A10#126A10

#126A10 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.145 H 142.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#126A10
RGBrgb(18, 106, 16)
HSLhsl(119, 74%, 24%)
HSVhsv(119, 85%, 42%)
CMYKcmyk(83%, 0%, 84.9%, 58.4%)
CIE-LABlab(38.68, -42.33, 39.62)
CIE-LCHlch(38.68, 57.98, 136.89°)
OKLaboklab(45.76% -0.115 0.0881)
OKLCHoklch(45.76% 0.145 142.5)
XYZxyz(5.4967, 10.4734, 2.2220)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A10 #68106A
analogous
#3F6A10 #126A10 #106A3B
triadic
#126A10 #10126A #6A1012
tetradic
#126A10 #103F6A #68106A #6A3B10
square
#126A10 #103F6A #68106A #6A3B10
split-complementary
#126A10 #3B106A #6A103F
monochromatic
#051B04 #093508 #126A10 #1B9F18 #24D420

Accessibility & contrast

On white

6.79
#126A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#126A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A10
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A10#FFFFFF#000000##FFFFFF
##126A101.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a10;
/* rgb */ color: rgb(18, 106, 16);
/* oklch */ color: oklch(45.8% 0.145 142.5);
Tailwind
colors: {
  custom: {
    50: '#639657',
    500: '#126a10',
    950: '#000000',
  },
}
SCSS
$custom: #126a10;
$custom-light: #639657;
$custom-dark: #000000;
JSON
{
  "hex": "#126a10",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 118.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.14483,
    "h": 142.5
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#126A10
secondary
#A034A2
accent
#37F0EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126A10

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

Preview Lab → · Contrast checker → · Palette generator →

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