#127D29#127D29

#127D29 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.5% C 0.151 H 145.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#127D29
RGBrgb(18, 125, 41)
HSLhsl(133, 75%, 28%)
HSVhsv(133, 86%, 49%)
CMYKcmyk(85.6%, 0%, 67.2%, 51%)
CIE-LABlab(45.57, -46.43, 36.69)
CIE-LCHlch(45.57, 59.18, 141.69°)
OKLaboklab(51.55% -0.125 0.0853)
OKLCHoklch(51.55% 0.151 145.7)
XYZxyz(7.9827, 14.9549, 4.5633)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D29 #7D1266
analogous
#317D12 #127D29 #127D5E
triadic
#127D29 #29127D #7D2912
tetradic
#127D29 #12317D #7D1266 #7D5E12
square
#127D29 #12317D #7D1266 #7D5E12
split-complementary
#127D29 #5E127D #7D1231
monochromatic
#041B09 #0A4817 #127D29 #1AB23B #29E051

Accessibility & contrast

On white

5.26
#127D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#127D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D29
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D29#FFFFFF#000000##FFFFFF
##127D291.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d29;
/* rgb */ color: rgb(18, 125, 41);
/* oklch */ color: oklch(51.5% 0.151 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a467',
    500: '#127d29',
    950: '#000000',
  },
}
SCSS
$custom: #127d29;
$custom-light: #67a467;
$custom-dark: #000000;
JSON
{
  "hex": "#127d29",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 132.897,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.15134,
    "h": 145.7
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#127D29
secondary
#B33898
accent
#36C9F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127D29

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

Preview Lab → · Contrast checker → · Palette generator →

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