#127F2D#127F2D

#127F2D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.151 H 146.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#127F2D
RGBrgb(18, 127, 45)
HSLhsl(135, 75%, 28%)
HSVhsv(135, 86%, 50%)
CMYKcmyk(85.8%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.31, -46.63, 35.64)
CIE-LCHlch(46.31, 58.69, 142.61°)
OKLaboklab(52.17% -0.1254 0.0835)
OKLCHoklch(52.17% 0.151 146.4)
XYZxyz(8.3118, 15.4958, 5.0350)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F2D #7F1264
analogous
#2E7F12 #127F2D #127F63
triadic
#127F2D #2D127F #7F2D12
tetradic
#127F2D #122E7F #7F1264 #7F6312
square
#127F2D #122E7F #7F1264 #7F6312
split-complementary
#127F2D #63127F #7F122E
monochromatic
#041B09 #0A491A #127F2D #1AB540 #2BE158

Accessibility & contrast

On white

5.12
#127F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#127F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F2D#FFFFFF#000000##FFFFFF
##127F2D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f2d;
/* rgb */ color: rgb(18, 127, 45);
/* oklch */ color: oklch(52.2% 0.151 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a569',
    500: '#127f2d',
    950: '#000000',
  },
}
SCSS
$custom: #127f2d;
$custom-light: #67a569;
$custom-dark: #000000;
JSON
{
  "hex": "#127f2d",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 134.862,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.15063,
    "h": 146.4
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#127F2D
secondary
#B53896
accent
#36C3F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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