#127515#127515

#127515 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.155 H 143.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#127515
RGBrgb(18, 117, 21)
HSLhsl(122, 73%, 26%)
HSVhsv(122, 85%, 46%)
CMYKcmyk(84.6%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.62, -45.65, 41.72)
CIE-LCHlch(42.62, 61.85, 137.58°)
OKLaboklab(49.04% -0.1238 0.0932)
OKLCHoklch(49.04% 0.155 143)
XYZxyz(6.7457, 12.9045, 2.8446)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127515 #751272
analogous
#417512 #127515 #127547
triadic
#127515 #151275 #751512
tetradic
#127515 #124175 #751272 #754712
square
#127515 #124175 #751272 #754712
split-complementary
#127515 #471275 #751241
monochromatic
#041B05 #0A400B #127515 #1AAA1F #24DD2A

Accessibility & contrast

On white

5.86
#127515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#127515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127515
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127515#FFFFFF#000000##FFFFFF
##1275151.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127515;
/* rgb */ color: rgb(18, 117, 21);
/* oklch */ color: oklch(49.0% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#659e5b',
    500: '#127515',
    950: '#000000',
  },
}
SCSS
$custom: #127515;
$custom-light: #659e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127515",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 121.818,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.15494,
    "h": 143
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127515

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

Preview Lab → · Contrast checker → · Palette generator →

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