#127F29#127F29

#127F29 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.154 H 145.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#127F29
RGBrgb(18, 127, 41)
HSLhsl(133, 75%, 28%)
HSVhsv(133, 86%, 50%)
CMYKcmyk(85.8%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.27, -47.11, 37.46)
CIE-LCHlch(46.27, 60.19, 141.51°)
OKLaboklab(52.13% -0.1269 0.0869)
OKLCHoklch(52.13% 0.154 145.6)
XYZxyz(8.2385, 15.4664, 4.6485)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F29 #7F1268
analogous
#317F12 #127F29 #127F5F
triadic
#127F29 #29127F #7F2912
tetradic
#127F29 #12317F #7F1268 #7F5F12
square
#127F29 #12317F #7F1268 #7F5F12
split-complementary
#127F29 #5F127F #7F1231
monochromatic
#041B09 #0A4918 #127F29 #1AB53A #2BE151

Accessibility & contrast

On white

5.13
#127F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F29
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F29#FFFFFF#000000##FFFFFF
##127F291.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#766A31
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f29;
/* rgb */ color: rgb(18, 127, 41);
/* oklch */ color: oklch(52.1% 0.154 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a567',
    500: '#127f29',
    950: '#000000',
  },
}
SCSS
$custom: #127f29;
$custom-light: #67a567;
$custom-dark: #000000;
JSON
{
  "hex": "#127f29",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 132.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.15378,
    "h": 145.6
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127F29

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

Preview Lab → · Contrast checker → · Palette generator →

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