#126A13#126A13

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

Color values

HEX#126A13
RGBrgb(18, 106, 19)
HSLhsl(121, 71%, 24%)
HSVhsv(121, 83%, 42%)
CMYKcmyk(83%, 0%, 82.1%, 58.4%)
CIE-LABlab(38.70, -42.12, 38.63)
CIE-LCHlch(38.70, 57.15, 137.47°)
OKLaboklab(45.78% -0.1143 0.0865)
OKLCHoklch(45.78% 0.143 142.9)
XYZxyz(5.5207, 10.4830, 2.3484)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A13 #6A1269
analogous
#3D6A12 #126A13 #126A3F
triadic
#126A13 #13126A #6A1312
tetradic
#126A13 #123D6A #6A1269 #6A3F12
square
#126A13 #123D6A #6A1269 #6A3F12
split-complementary
#126A13 #3F126A #6A123D
monochromatic
#041A05 #09360A #126A13 #1B9E1C #24D326

Accessibility & contrast

On white

6.78
#126A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A13
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A13#FFFFFF#000000##FFFFFF
##126A131.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a13;
/* rgb */ color: rgb(18, 106, 19);
/* oklch */ color: oklch(45.8% 0.143 142.9);
Tailwind
colors: {
  custom: {
    50: '#629658',
    500: '#126a13',
    950: '#000000',
  },
}
SCSS
$custom: #126a13;
$custom-light: #629658;
$custom-dark: #000000;
JSON
{
  "hex": "#126a13",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 120.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.1433,
    "h": 142.9
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#126A13
secondary
#A236A0
accent
#3AECEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A13

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

Preview Lab → · Contrast checker → · Palette generator →

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