#126731#126731

#126731 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.2% C 0.115 H 150.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#126731
RGBrgb(18, 103, 49)
HSLhsl(142, 70%, 24%)
HSVhsv(142, 83%, 40%)
CMYKcmyk(82.5%, 0%, 52.4%, 59.6%)
CIE-LABlab(37.93, -37.29, 23.60)
CIE-LCHlch(37.93, 44.13, 147.67°)
OKLaboklab(45.24% -0.1001 0.0574)
OKLCHoklch(45.24% 0.115 150.2)
XYZxyz(5.6536, 10.0502, 4.5470)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126731 #671248
analogous
#1D6712 #126731 #12675B
triadic
#126731 #311267 #673112
tetradic
#126731 #121D67 #671248 #675B12
square
#126731 #121D67 #671248 #675B12
split-complementary
#126731 #5B1267 #67121D
monochromatic
#051A0C #093318 #126731 #1B9B4A #24CF63

Accessibility & contrast

On white

6.98
#126731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#126731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126731
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126731#FFFFFF#000000##FFFFFF
##1267311.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2D
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126731;
/* rgb */ color: rgb(18, 103, 49);
/* oklch */ color: oklch(45.2% 0.115 150.2);
Tailwind
colors: {
  custom: {
    50: '#60936a',
    500: '#126731',
    950: '#000000',
  },
}
SCSS
$custom: #126731;
$custom-light: #60936a;
$custom-dark: #000000;
JSON
{
  "hex": "#126731",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 141.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.11541,
    "h": 150.2
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#126731
secondary
#9F3679
accent
#3BACED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #126731

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

Preview Lab → · Contrast checker → · Palette generator →

#126731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva