#127221#127221

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

Color values

HEX#127221
RGBrgb(18, 114, 33)
HSLhsl(129, 73%, 26%)
HSVhsv(129, 84%, 45%)
CMYKcmyk(84.2%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.65, -43.58, 36.02)
CIE-LCHlch(41.65, 56.54, 140.42°)
OKLaboklab(48.26% -0.1176 0.0829)
OKLCHoklch(48.26% 0.144 144.8)
XYZxyz(6.5408, 12.2722, 3.4626)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127221 #721263
analogous
#337212 #127221 #127251
triadic
#127221 #211272 #722112
tetradic
#127221 #123372 #721263 #725112
square
#127221 #123372 #721263 #725112
split-complementary
#127221 #511272 #721233
monochromatic
#041A08 #0A3D12 #127221 #1AA730 #23DC40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127221#FFFFFF#000000##FFFFFF
##1272211.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)
#746716
Deuteranopia (green-blind)
#6A5F29
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127221;
/* rgb */ color: rgb(18, 114, 33);
/* oklch */ color: oklch(48.3% 0.144 144.8);
Tailwind
colors: {
  custom: {
    50: '#649c61',
    500: '#127221',
    950: '#000000',
  },
}
SCSS
$custom: #127221;
$custom-light: #649c61;
$custom-dark: #000000;
JSON
{
  "hex": "#127221",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 129.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48262,
    "c": 0.14389,
    "h": 144.8
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#127221
secondary
#A93797
accent
#38D3EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127221

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

Preview Lab → · Contrast checker → · Palette generator →

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