#127D22#127D22

#127D22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.156 H 144.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#127D22
RGBrgb(18, 125, 34)
HSLhsl(129, 75%, 28%)
HSVhsv(129, 86%, 49%)
CMYKcmyk(85.6%, 0%, 72.8%, 51%)
CIE-LABlab(45.51, -47.19, 39.70)
CIE-LCHlch(45.51, 61.67, 139.93°)
OKLaboklab(51.48% -0.1274 0.0908)
OKLCHoklch(51.48% 0.156 144.5)
XYZxyz(7.8712, 14.9103, 3.9762)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D22 #7D126D
analogous
#377D12 #127D22 #127D57
triadic
#127D22 #22127D #7D2212
tetradic
#127D22 #12377D #7D126D #7D5712
square
#127D22 #12377D #7D126D #7D5712
split-complementary
#127D22 #57127D #7D1237
monochromatic
#041B07 #0A4813 #127D22 #1AB231 #29E045

Accessibility & contrast

On white

5.27
#127D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#127D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D22#FFFFFF#000000##FFFFFF
##127D221.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d22;
/* rgb */ color: rgb(18, 125, 34);
/* oklch */ color: oklch(51.5% 0.156 144.5);
Tailwind
colors: {
  custom: {
    50: '#67a463',
    500: '#127d22',
    950: '#000000',
  },
}
SCSS
$custom: #127d22;
$custom-light: #67a463;
$custom-dark: #000000;
JSON
{
  "hex": "#127d22",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 128.972,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.15642,
    "h": 144.5
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#127D22
secondary
#B338A1
accent
#36D5F1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127D22

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

Preview Lab → · Contrast checker → · Palette generator →

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