#127315#127315

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

Color values

HEX#127315
RGBrgb(18, 115, 21)
HSLhsl(122, 73%, 26%)
HSVhsv(122, 84%, 45%)
CMYKcmyk(84.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(41.91, -44.99, 41.04)
CIE-LCHlch(41.91, 60.90, 137.63°)
OKLaboklab(48.46% -0.122 0.0918)
OKLCHoklch(48.46% 0.153 143)
XYZxyz(6.5151, 12.4434, 2.7678)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127315 #731270
analogous
#3F7312 #127315 #127345
triadic
#127315 #151273 #731512
tetradic
#127315 #123F73 #731270 #734512
square
#127315 #123F73 #731270 #734512
split-complementary
#127315 #451273 #73123F
monochromatic
#041A05 #0A3E0B #127315 #1AA81F #23DD29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127315#FFFFFF#000000##FFFFFF
##1273151.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)
#766700
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127315;
/* rgb */ color: rgb(18, 115, 21);
/* oklch */ color: oklch(48.5% 0.153 143.0);
Tailwind
colors: {
  custom: {
    50: '#659c5b',
    500: '#127315',
    950: '#000000',
  },
}
SCSS
$custom: #127315;
$custom-light: #659c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127315",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 121.856,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48456,
    "c": 0.15266,
    "h": 143
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#127315
secondary
#AA37A6
accent
#38EAF0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127315

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

Preview Lab → · Contrast checker → · Palette generator →

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