#127015#127015

#127015 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.149 H 143.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#127015
RGBrgb(18, 112, 21)
HSLhsl(122, 72%, 25%)
HSVhsv(122, 84%, 44%)
CMYKcmyk(83.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(40.85, -44.00, 40.01)
CIE-LCHlch(40.85, 59.47, 137.71°)
OKLaboklab(47.57% -0.1193 0.0896)
OKLCHoklch(47.57% 0.149 143.1)
XYZxyz(6.1786, 11.7703, 2.6556)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127015 #70126D
analogous
#3E7012 #127015 #127044
triadic
#127015 #151270 #701512
tetradic
#127015 #123E70 #70126D #704412
square
#127015 #123E70 #70126D #704412
split-complementary
#127015 #441270 #70123E
monochromatic
#041A05 #0A3B0B #127015 #1AA51F #23D929

Accessibility & contrast

On white

6.26
#127015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#127015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127015
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127015#FFFFFF#000000##FFFFFF
##1270151.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #127015;
/* rgb */ color: rgb(18, 112, 21);
/* oklch */ color: oklch(47.6% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#649a5a',
    500: '#127015',
    950: '#000000',
  },
}
SCSS
$custom: #127015;
$custom-light: #649a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127015",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 121.915,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.14921,
    "h": 143.1
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#127015
secondary
#A737A3
accent
#39E9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #127015

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

Preview Lab → · Contrast checker → · Palette generator →

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