#126A25#126A25

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

Color values

HEX#126A25
RGBrgb(18, 106, 37)
HSLhsl(133, 71%, 24%)
HSVhsv(133, 83%, 42%)
CMYKcmyk(83%, 0%, 65.1%, 58.4%)
CIE-LABlab(38.85, -40.27, 31.04)
CIE-LCHlch(38.85, 50.85, 142.37°)
OKLaboklab(45.95% -0.1084 0.0728)
OKLCHoklch(45.95% 0.131 146.1)
XYZxyz(5.7370, 10.5695, 3.4877)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A25 #6A1257
analogous
#2B6A12 #126A25 #126A51
triadic
#126A25 #25126A #6A2512
tetradic
#126A25 #122B6A #6A1257 #6A5112
square
#126A25 #122B6A #6A1257 #6A5112
split-complementary
#126A25 #51126A #6A122B
monochromatic
#041A09 #093613 #126A25 #1B9E37 #24D34A

Accessibility & contrast

On white

6.74
#126A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A25
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A25#FFFFFF#000000##FFFFFF
##126A251.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126a25;
/* rgb */ color: rgb(18, 106, 37);
/* oklch */ color: oklch(45.9% 0.131 146.1);
Tailwind
colors: {
  custom: {
    50: '#619662',
    500: '#126a25',
    950: '#000000',
  },
}
SCSS
$custom: #126a25;
$custom-light: #619662;
$custom-dark: #000000;
JSON
{
  "hex": "#126a25",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 132.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.13061,
    "h": 146.1
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#126A25
secondary
#A2368A
accent
#3AC7EE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126A25

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

Preview Lab → · Contrast checker → · Palette generator →

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