#127216#127216

#127216 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.151 H 143.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#127216
RGBrgb(18, 114, 22)
HSLhsl(123, 73%, 26%)
HSVhsv(123, 84%, 45%)
CMYKcmyk(84.2%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.56, -44.59, 40.36)
CIE-LCHlch(41.56, 60.14, 137.85°)
OKLaboklab(48.17% -0.1208 0.0905)
OKLCHoklch(48.17% 0.151 143.2)
XYZxyz(6.4112, 12.2204, 2.7798)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127216 #72126E
analogous
#3E7212 #127216 #127246
triadic
#127216 #161272 #721612
tetradic
#127216 #123E72 #72126E #724612
square
#127216 #123E72 #72126E #724612
split-complementary
#127216 #461272 #72123E
monochromatic
#041A05 #0A3D0C #127216 #1AA720 #23DC2A

Accessibility & contrast

On white

6.10
#127216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#127216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127216
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127216#FFFFFF#000000##FFFFFF
##1272161.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127216;
/* rgb */ color: rgb(18, 114, 22);
/* oklch */ color: oklch(48.2% 0.151 143.2);
Tailwind
colors: {
  custom: {
    50: '#659c5b',
    500: '#127216',
    950: '#000000',
  },
}
SCSS
$custom: #127216;
$custom-light: #659c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127216",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 122.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.15097,
    "h": 143.2
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#127216
secondary
#A937A4
accent
#38E8EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127216

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

Preview Lab → · Contrast checker → · Palette generator →

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