#127D20#127D20

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

Color values

HEX#127D20
RGBrgb(18, 125, 32)
HSLhsl(128, 75%, 28%)
HSVhsv(128, 86%, 49%)
CMYKcmyk(85.6%, 0%, 74.4%, 51%)
CIE-LABlab(45.50, -47.39, 40.50)
CIE-LCHlch(45.50, 62.34, 139.48°)
OKLaboklab(51.46% -0.128 0.0922)
OKLCHoklch(51.46% 0.158 144.2)
XYZxyz(7.8432, 14.8991, 3.8287)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D20 #7D126F
analogous
#3A7D12 #127D20 #127D55
triadic
#127D20 #20127D #7D2012
tetradic
#127D20 #123A7D #7D126F #7D5512
square
#127D20 #123A7D #7D126F #7D5512
split-complementary
#127D20 #55127D #7D123A
monochromatic
#041B07 #0A4812 #127D20 #1AB22E #29E041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127D20#FFFFFF#000000##FFFFFF
##127D201.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)
#7F7010
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d20;
/* rgb */ color: rgb(18, 125, 32);
/* oklch */ color: oklch(51.5% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#67a461',
    500: '#127d20',
    950: '#000000',
  },
}
SCSS
$custom: #127d20;
$custom-light: #67a461;
$custom-dark: #000000;
JSON
{
  "hex": "#127d20",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 127.85,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.15776,
    "h": 144.2
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#127D20
secondary
#B338A3
accent
#36D9F1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #127D20

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

Preview Lab → · Contrast checker → · Palette generator →

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