#127220#127220

#127220 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.145 H 144.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#127220
RGBrgb(18, 114, 32)
HSLhsl(129, 73%, 26%)
HSVhsv(129, 84%, 45%)
CMYKcmyk(84.2%, 0%, 71.9%, 55.3%)
CIE-LABlab(41.64, -43.68, 36.46)
CIE-LCHlch(41.64, 56.90, 140.15°)
OKLaboklab(48.25% -0.1179 0.0837)
OKLCHoklch(48.25% 0.145 144.6)
XYZxyz(6.5270, 12.2667, 3.3899)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127220 #721264
analogous
#347212 #127220 #127250
triadic
#127220 #201272 #722012
tetradic
#127220 #123472 #721264 #725012
square
#127220 #123472 #721264 #725012
split-complementary
#127220 #501272 #721234
monochromatic
#041A07 #0A3D11 #127220 #1AA72F #23DC3E

Accessibility & contrast

On white

6.08
#127220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#127220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127220
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127220#FFFFFF#000000##FFFFFF
##1272201.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746714
Deuteranopia (green-blind)
#6A5F28
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127220;
/* rgb */ color: rgb(18, 114, 32);
/* oklch */ color: oklch(48.3% 0.145 144.6);
Tailwind
colors: {
  custom: {
    50: '#649c60',
    500: '#127220',
    950: '#000000',
  },
}
SCSS
$custom: #127220;
$custom-light: #649c60;
$custom-dark: #000000;
JSON
{
  "hex": "#127220",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 128.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.14461,
    "h": 144.6
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#127220
secondary
#A93798
accent
#38D5EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127220

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

Preview Lab → · Contrast checker → · Palette generator →

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