#127D1D#127D1D

#127D1D is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.160 H 143.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#127D1D
RGBrgb(18, 125, 29)
HSLhsl(126, 75%, 28%)
HSVhsv(126, 86%, 49%)
CMYKcmyk(85.6%, 0%, 76.8%, 51%)
CIE-LABlab(45.47, -47.65, 41.66)
CIE-LCHlch(45.47, 63.30, 138.84°)
OKLaboklab(51.44% -0.1289 0.0942)
OKLCHoklch(51.44% 0.16 143.8)
XYZxyz(7.8043, 14.8836, 3.6237)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D1D #7D1272
analogous
#3C7D12 #127D1D #127D52
triadic
#127D1D #1D127D #7D1D12
tetradic
#127D1D #123C7D #7D1272 #7D5212
square
#127D1D #123C7D #7D1272 #7D5212
split-complementary
#127D1D #52127D #7D123C
monochromatic
#041B06 #0A4811 #127D1D #1AB229 #29E03C

Accessibility & contrast

On white

5.28
#127D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127D1D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D1D#FFFFFF#000000##FFFFFF
##127D1D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700A
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d1d;
/* rgb */ color: rgb(18, 125, 29);
/* oklch */ color: oklch(51.4% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a460',
    500: '#127d1d',
    950: '#000000',
  },
}
SCSS
$custom: #127d1d;
$custom-light: #67a460;
$custom-dark: #000000;
JSON
{
  "hex": "#127d1d",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 126.168,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.15963,
    "h": 143.8
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#127D1D
secondary
#B338A6
accent
#36DEF1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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