#126727#126727

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

Color values

HEX#126727
RGBrgb(18, 103, 39)
HSLhsl(135, 70%, 24%)
HSVhsv(135, 83%, 40%)
CMYKcmyk(82.5%, 0%, 62.1%, 59.6%)
CIE-LABlab(37.80, -38.90, 28.82)
CIE-LCHlch(37.80, 48.41, 143.46°)
OKLaboklab(45.09% -0.1046 0.0682)
OKLCHoklch(45.09% 0.125 146.9)
XYZxyz(5.4655, 9.9749, 3.5564)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126727 #671252
analogous
#276712 #126727 #126751
triadic
#126727 #271267 #672712
tetradic
#126727 #122767 #671252 #675112
square
#126727 #122767 #671252 #675112
split-complementary
#126727 #511267 #671227
monochromatic
#051A0A #093313 #126727 #1B9B3B #24CF4E

Accessibility & contrast

On white

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

On black

3.00
#126727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126727#FFFFFF#000000##FFFFFF
##1267271.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126727;
/* rgb */ color: rgb(18, 103, 39);
/* oklch */ color: oklch(45.1% 0.125 146.9);
Tailwind
colors: {
  custom: {
    50: '#619363',
    500: '#126727',
    950: '#000000',
  },
}
SCSS
$custom: #126727;
$custom-light: #619363;
$custom-dark: #000000;
JSON
{
  "hex": "#126727",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 134.824,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.12491,
    "h": 146.9
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#126727
secondary
#9F3685
accent
#3BC1ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126727

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

Preview Lab → · Contrast checker → · Palette generator →

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