#127626#127626

#127626 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.145 H 145.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#127626
RGBrgb(18, 118, 38)
HSLhsl(132, 74%, 27%)
HSVhsv(132, 85%, 46%)
CMYKcmyk(84.7%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.10, -44.39, 35.34)
CIE-LCHlch(43.10, 56.74, 141.48°)
OKLaboklab(49.49% -0.1196 0.0821)
OKLCHoklch(49.49% 0.145 145.5)
XYZxyz(7.0772, 13.2245, 4.0129)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127626 #761262
analogous
#307612 #127626 #127658
triadic
#127626 #261276 #762612
tetradic
#127626 #123076 #761262 #765812
square
#127626 #123076 #761262 #765812
split-complementary
#127626 #581276 #761230
monochromatic
#041B09 #0A4115 #127626 #1AAB37 #25DE4A

Accessibility & contrast

On white

5.76
#127626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#127626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127626
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127626#FFFFFF#000000##FFFFFF
##1276261.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127626;
/* rgb */ color: rgb(18, 118, 38);
/* oklch */ color: oklch(49.5% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#659f64',
    500: '#127626',
    950: '#000000',
  },
}
SCSS
$custom: #127626;
$custom-light: #659f64;
$custom-dark: #000000;
JSON
{
  "hex": "#127626",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 132,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.14504,
    "h": 145.5
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#127626
secondary
#AD3795
accent
#38CBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #127626

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

Preview Lab → · Contrast checker → · Palette generator →

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