#127028#127028

#127028 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.136 H 146.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#127028
RGBrgb(18, 112, 40)
HSLhsl(134, 72%, 25%)
HSVhsv(134, 84%, 44%)
CMYKcmyk(83.9%, 0%, 64.3%, 56.1%)
CIE-LABlab(41.01, -42.03, 32.03)
CIE-LCHlch(41.01, 52.84, 142.69°)
OKLaboklab(47.75% -0.1131 0.0752)
OKLCHoklch(47.75% 0.136 146.4)
XYZxyz(6.4261, 11.8694, 3.9594)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127028 #70125A
analogous
#2B7012 #127028 #127057
triadic
#127028 #281270 #702812
tetradic
#127028 #122B70 #70125A #705712
square
#127028 #122B70 #70125A #705712
split-complementary
#127028 #571270 #70122B
monochromatic
#041A09 #0A3B15 #127028 #1AA53B #23D94E

Accessibility & contrast

On white

6.22
#127028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#127028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127028
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127028#FFFFFF#000000##FFFFFF
##1270281.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#675E2E
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #127028;
/* rgb */ color: rgb(18, 112, 40);
/* oklch */ color: oklch(47.8% 0.136 146.4);
Tailwind
colors: {
  custom: {
    50: '#639a65',
    500: '#127028',
    950: '#000000',
  },
}
SCSS
$custom: #127028;
$custom-light: #639a65;
$custom-dark: #000000;
JSON
{
  "hex": "#127028",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 134.043,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.13584,
    "h": 146.4
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#127028
secondary
#A7378D
accent
#39C4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127028

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

Preview Lab → · Contrast checker → · Palette generator →

#127028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva