#127020#127020

#127020 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.142 H 144.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#127020
RGBrgb(18, 112, 32)
HSLhsl(129, 72%, 25%)
HSVhsv(129, 84%, 44%)
CMYKcmyk(83.9%, 0%, 71.4%, 56.1%)
CIE-LABlab(40.93, -42.99, 35.70)
CIE-LCHlch(40.93, 55.88, 140.30°)
OKLaboklab(47.66% -0.116 0.0821)
OKLCHoklch(47.66% 0.142 144.7)
XYZxyz(6.3039, 11.8205, 3.3156)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127020 #701262
analogous
#337012 #127020 #12704F
triadic
#127020 #201270 #702012
tetradic
#127020 #123370 #701262 #704F12
square
#127020 #123370 #701262 #704F12
split-complementary
#127020 #4F1270 #701233
monochromatic
#041A08 #0A3B11 #127020 #1AA52F #23D93E

Accessibility & contrast

On white

6.24
#127020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#127020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127020
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127020#FFFFFF#000000##FFFFFF
##1270201.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #127020;
/* rgb */ color: rgb(18, 112, 32);
/* oklch */ color: oklch(47.7% 0.142 144.7);
Tailwind
colors: {
  custom: {
    50: '#639a60',
    500: '#127020',
    950: '#000000',
  },
}
SCSS
$custom: #127020;
$custom-light: #639a60;
$custom-dark: #000000;
JSON
{
  "hex": "#127020",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 128.936,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.14217,
    "h": 144.7
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#127020
secondary
#A73796
accent
#39D4EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #127020

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

Preview Lab → · Contrast checker → · Palette generator →

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