#127C29#127C29

#127C29 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.150 H 145.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#127C29
RGBrgb(18, 124, 41)
HSLhsl(133, 75%, 28%)
HSVhsv(133, 85%, 49%)
CMYKcmyk(85.5%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.22, -46.09, 36.30)
CIE-LCHlch(45.22, 58.67, 141.78°)
OKLaboklab(51.26% -0.1241 0.0845)
OKLCHoklch(51.26% 0.15 145.8)
XYZxyz(7.8568, 14.7030, 4.5213)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C29 #7C1265
analogous
#307C12 #127C29 #127C5E
triadic
#127C29 #29127C #7C2912
tetradic
#127C29 #12307C #7C1265 #7C5E12
square
#127C29 #12307C #7C1265 #7C5E12
split-complementary
#127C29 #5E127C #7C1230
monochromatic
#041B09 #0A4717 #127C29 #1AB13B #29E050

Accessibility & contrast

On white

5.33
#127C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#127C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C29
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C29#FFFFFF#000000##FFFFFF
##127C291.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c29;
/* rgb */ color: rgb(18, 124, 41);
/* oklch */ color: oklch(51.3% 0.150 145.8);
Tailwind
colors: {
  custom: {
    50: '#66a366',
    500: '#127c29',
    950: '#000000',
  },
}
SCSS
$custom: #127c29;
$custom-light: #66a366;
$custom-dark: #000000;
JSON
{
  "hex": "#127c29",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 133.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.15011,
    "h": 145.8
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#127C29
secondary
#B23897
accent
#37C9F1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127C29

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

Preview Lab → · Contrast checker → · Palette generator →

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