#126A24#126A24

#126A24 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.131 H 145.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#126A24
RGBrgb(18, 106, 36)
HSLhsl(132, 71%, 24%)
HSVhsv(132, 83%, 42%)
CMYKcmyk(83%, 0%, 66%, 58.4%)
CIE-LABlab(38.84, -40.40, 31.53)
CIE-LCHlch(38.84, 51.25, 142.03°)
OKLaboklab(45.94% -0.1088 0.0738)
OKLCHoklch(45.94% 0.131 145.9)
XYZxyz(5.7215, 10.5634, 3.4061)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A24 #6A1258
analogous
#2C6A12 #126A24 #126A50
triadic
#126A24 #24126A #6A2412
tetradic
#126A24 #122C6A #6A1258 #6A5012
square
#126A24 #122C6A #6A1258 #6A5012
split-complementary
#126A24 #50126A #6A122C
monochromatic
#041A09 #093612 #126A24 #1B9E36 #24D348

Accessibility & contrast

On white

6.75
#126A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#126A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A24
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A24#FFFFFF#000000##FFFFFF
##126A241.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a24;
/* rgb */ color: rgb(18, 106, 36);
/* oklch */ color: oklch(45.9% 0.131 145.9);
Tailwind
colors: {
  custom: {
    50: '#629662',
    500: '#126a24',
    950: '#000000',
  },
}
SCSS
$custom: #126a24;
$custom-light: #629662;
$custom-dark: #000000;
JSON
{
  "hex": "#126a24",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 36
  },
  "hsl": {
    "h": 132.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.13146,
    "h": 145.9
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#126A24
secondary
#A2368C
accent
#3AC9EE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126A24

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

Preview Lab → · Contrast checker → · Palette generator →

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