#127E2D#127E2D

#127E2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.149 H 146.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#127E2D
RGBrgb(18, 126, 45)
HSLhsl(135, 75%, 28%)
HSVhsv(135, 86%, 49%)
CMYKcmyk(85.7%, 0%, 64.3%, 50.6%)
CIE-LABlab(45.96, -46.28, 35.24)
CIE-LCHlch(45.96, 58.17, 142.71°)
OKLaboklab(51.88% -0.1245 0.0826)
OKLCHoklch(51.88% 0.149 146.4)
XYZxyz(8.1833, 15.2387, 4.9922)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E2D #7E1263
analogous
#2D7E12 #127E2D #127E63
triadic
#127E2D #2D127E #7E2D12
tetradic
#127E2D #122D7E #7E1263 #7E6312
square
#127E2D #122D7E #7E1263 #7E6312
split-complementary
#127E2D #63127E #7E122D
monochromatic
#041B0A #0A481A #127E2D #1AB440 #2AE158

Accessibility & contrast

On white

5.19
#127E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#127E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E2D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E2D#FFFFFF#000000##FFFFFF
##127E2D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e2d;
/* rgb */ color: rgb(18, 126, 45);
/* oklch */ color: oklch(51.9% 0.149 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a469',
    500: '#127e2d',
    950: '#000000',
  },
}
SCSS
$custom: #127e2d;
$custom-light: #67a469;
$custom-dark: #000000;
JSON
{
  "hex": "#127e2d",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 135,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.14939,
    "h": 146.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#127E2D
secondary
#B43895
accent
#36C3F2
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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