#127E29#127E29

#127E29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.153 H 145.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#127E29
RGBrgb(18, 126, 41)
HSLhsl(133, 75%, 28%)
HSVhsv(133, 86%, 49%)
CMYKcmyk(85.7%, 0%, 67.5%, 50.6%)
CIE-LABlab(45.92, -46.77, 37.07)
CIE-LCHlch(45.92, 59.68, 141.60°)
OKLaboklab(51.84% -0.1259 0.0861)
OKLCHoklch(51.84% 0.153 145.6)
XYZxyz(8.1099, 15.2094, 4.6057)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E29 #7E1267
analogous
#317E12 #127E29 #127E5F
triadic
#127E29 #29127E #7E2912
tetradic
#127E29 #12317E #7E1267 #7E5F12
square
#127E29 #12317E #7E1267 #7E5F12
split-complementary
#127E29 #5F127E #7E1231
monochromatic
#041B09 #0A4818 #127E29 #1AB43A #2AE151

Accessibility & contrast

On white

5.20
#127E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#127E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E29
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E29#FFFFFF#000000##FFFFFF
##127E291.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e29;
/* rgb */ color: rgb(18, 126, 41);
/* oklch */ color: oklch(51.8% 0.153 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a467',
    500: '#127e29',
    950: '#000000',
  },
}
SCSS
$custom: #127e29;
$custom-light: #67a467;
$custom-dark: #000000;
JSON
{
  "hex": "#127e29",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 132.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.15256,
    "h": 145.6
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#127E29
secondary
#B43899
accent
#36CAF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E29

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

Preview Lab → · Contrast checker → · Palette generator →

#127E29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva