#127316#127316

#127316 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.152 H 143.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#127316
RGBrgb(18, 115, 22)
HSLhsl(122, 73%, 26%)
HSVhsv(122, 84%, 45%)
CMYKcmyk(84.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(41.92, -44.92, 40.70)
CIE-LCHlch(41.92, 60.62, 137.82°)
OKLaboklab(48.46% -0.1217 0.0912)
OKLCHoklch(48.46% 0.152 143.2)
XYZxyz(6.5246, 12.4472, 2.8176)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127316 #73126F
analogous
#3E7312 #127316 #127346
triadic
#127316 #161273 #731612
tetradic
#127316 #123E73 #73126F #734612
square
#127316 #123E73 #73126F #734612
split-complementary
#127316 #461273 #73123E
monochromatic
#041A05 #0A3E0C #127316 #1AA820 #23DD2B

Accessibility & contrast

On white

6.02
#127316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#127316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127316
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127316#FFFFFF#000000##FFFFFF
##1273161.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127316;
/* rgb */ color: rgb(18, 115, 22);
/* oklch */ color: oklch(48.5% 0.152 143.2);
Tailwind
colors: {
  custom: {
    50: '#659c5b',
    500: '#127316',
    950: '#000000',
  },
}
SCSS
$custom: #127316;
$custom-light: #659c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127316",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 122.474,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.15212,
    "h": 143.2
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#127316
secondary
#AA37A5
accent
#38E8F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127316

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

Preview Lab → · Contrast checker → · Palette generator →

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