#127631#127631

#127631 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.136 H 148.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#127631
RGBrgb(18, 118, 49)
HSLhsl(139, 74%, 27%)
HSVhsv(139, 85%, 46%)
CMYKcmyk(84.7%, 0%, 58.5%, 53.7%)
CIE-LABlab(43.22, -42.91, 30.06)
CIE-LCHlch(43.22, 52.39, 144.99°)
OKLaboklab(49.63% -0.1152 0.0717)
OKLCHoklch(49.63% 0.136 148.1)
XYZxyz(7.2817, 13.3063, 5.0897)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127631 #761257
analogous
#257612 #127631 #127663
triadic
#127631 #311276 #763112
tetradic
#127631 #122576 #761257 #766312
square
#127631 #122576 #761257 #766312
split-complementary
#127631 #631276 #761225
monochromatic
#041B0B #0A411B #127631 #1AAB47 #25DE5E

Accessibility & contrast

On white

5.74
#127631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#127631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127631
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127631#FFFFFF#000000##FFFFFF
##1276311.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2A
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127631;
/* rgb */ color: rgb(18, 118, 49);
/* oklch */ color: oklch(49.6% 0.136 148.1);
Tailwind
colors: {
  custom: {
    50: '#649e6b',
    500: '#127631',
    950: '#000000',
  },
}
SCSS
$custom: #127631;
$custom-light: #649e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#127631",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 49
  },
  "hsl": {
    "h": 138.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.13572,
    "h": 148.1
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#127631
secondary
#AD3788
accent
#38B7F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127631

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

Preview Lab → · Contrast checker → · Palette generator →

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