#126726#126726

#126726 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.126 H 146.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#126726
RGBrgb(18, 103, 38)
HSLhsl(134, 70%, 24%)
HSVhsv(134, 83%, 40%)
CMYKcmyk(82.5%, 0%, 63.1%, 59.6%)
CIE-LABlab(37.79, -39.04, 29.32)
CIE-LCHlch(37.79, 48.82, 143.09°)
OKLaboklab(45.07% -0.1051 0.0692)
OKLCHoklch(45.07% 0.126 146.6)
XYZxyz(5.4491, 9.9684, 3.4702)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126726 #671253
analogous
#286712 #126726 #126750
triadic
#126726 #261267 #672612
tetradic
#126726 #122867 #671253 #675012
square
#126726 #122867 #671253 #675012
split-complementary
#126726 #501267 #671228
monochromatic
#051A0A #093313 #126726 #1B9B39 #24CF4C

Accessibility & contrast

On white

7.01
#126726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#126726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126726
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126726#FFFFFF#000000##FFFFFF
##1267261.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D1F
Deuteranopia (green-blind)
#5F562B
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126726;
/* rgb */ color: rgb(18, 103, 38);
/* oklch */ color: oklch(45.1% 0.126 146.6);
Tailwind
colors: {
  custom: {
    50: '#619363',
    500: '#126726',
    950: '#000000',
  },
}
SCSS
$custom: #126726;
$custom-light: #619363;
$custom-dark: #000000;
JSON
{
  "hex": "#126726",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 134.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.12581,
    "h": 146.6
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#126726
secondary
#9F3686
accent
#3BC3ED
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126726

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

Preview Lab → · Contrast checker → · Palette generator →

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