#127017#127017

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

Color values

HEX#127017
RGBrgb(18, 112, 23)
HSLhsl(123, 72%, 25%)
HSVhsv(123, 84%, 44%)
CMYKcmyk(83.9%, 0%, 79.5%, 56.1%)
CIE-LABlab(40.86, -43.84, 39.31)
CIE-LCHlch(40.86, 58.88, 138.12°)
OKLaboklab(47.59% -0.1188 0.0885)
OKLCHoklch(47.59% 0.148 143.3)
XYZxyz(6.1979, 11.7780, 2.7572)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127017 #70126B
analogous
#3C7012 #127017 #127046
triadic
#127017 #171270 #701712
tetradic
#127017 #123C70 #70126B #704612
square
#127017 #123C70 #70126B #704612
split-complementary
#127017 #461270 #70123C
monochromatic
#041A05 #0A3B0C #127017 #1AA522 #23D92D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127017#FFFFFF#000000##FFFFFF
##1270171.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #127017;
/* rgb */ color: rgb(18, 112, 23);
/* oklch */ color: oklch(47.6% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#649a5b',
    500: '#127017',
    950: '#000000',
  },
}
SCSS
$custom: #127017;
$custom-light: #649a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127017",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 123.191,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.14808,
    "h": 143.3
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#127017
secondary
#A737A1
accent
#39E5EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #127017

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

Preview Lab → · Contrast checker → · Palette generator →

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