#127722#127722

#127722 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.149 H 144.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#127722
RGBrgb(18, 119, 34)
HSLhsl(130, 74%, 27%)
HSVhsv(130, 85%, 47%)
CMYKcmyk(84.9%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.41, -45.18, 37.48)
CIE-LCHlch(43.41, 58.70, 140.32°)
OKLaboklab(49.74% -0.1219 0.0861)
OKLCHoklch(49.74% 0.149 144.8)
XYZxyz(7.1345, 13.4369, 3.7306)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127722 #771267
analogous
#357712 #127722 #127755
triadic
#127722 #221277 #772212
tetradic
#127722 #123577 #771267 #775512
square
#127722 #123577 #771267 #775512
split-complementary
#127722 #551277 #771235
monochromatic
#041B08 #0A4213 #127722 #1AAC31 #25DE43

Accessibility & contrast

On white

5.69
#127722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#127722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127722
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127722#FFFFFF#000000##FFFFFF
##1277221.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#6E642A
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #127722;
/* rgb */ color: rgb(18, 119, 34);
/* oklch */ color: oklch(49.7% 0.149 144.8);
Tailwind
colors: {
  custom: {
    50: '#659f62',
    500: '#127722',
    950: '#000000',
  },
}
SCSS
$custom: #127722;
$custom-light: #659f62;
$custom-dark: #000000;
JSON
{
  "hex": "#127722",
  "rgb": {
    "r": 18,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 129.505,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.14926,
    "h": 144.8
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#127722
secondary
#AD379B
accent
#37D3F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #127722

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

Preview Lab → · Contrast checker → · Palette generator →

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