#127018#127018

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

Color values

HEX#127018
RGBrgb(18, 112, 24)
HSLhsl(124, 72%, 25%)
HSVhsv(124, 84%, 44%)
CMYKcmyk(83.9%, 0%, 78.6%, 56.1%)
CIE-LABlab(40.87, -43.76, 38.94)
CIE-LCHlch(40.87, 58.57, 138.34°)
OKLaboklab(47.59% -0.1185 0.0878)
OKLCHoklch(47.59% 0.147 143.5)
XYZxyz(6.2081, 11.7821, 2.8110)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127018 #70126A
analogous
#3B7012 #127018 #127047
triadic
#127018 #181270 #701812
tetradic
#127018 #123B70 #70126A #704712
square
#127018 #123B70 #70126A #704712
split-complementary
#127018 #471270 #70123B
monochromatic
#041A06 #0A3B0D #127018 #1AA523 #23D92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127018#FFFFFF#000000##FFFFFF
##1270181.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)
#726506
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #127018;
/* rgb */ color: rgb(18, 112, 24);
/* oklch */ color: oklch(47.6% 0.147 143.5);
Tailwind
colors: {
  custom: {
    50: '#649a5c',
    500: '#127018',
    950: '#000000',
  },
}
SCSS
$custom: #127018;
$custom-light: #649a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127018",
  "rgb": {
    "r": 18,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 123.83,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.14749,
    "h": 143.5
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#127018
secondary
#A737A0
accent
#39E3EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #127018

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

Preview Lab → · Contrast checker → · Palette generator →

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