#127520#127520

#127520 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.1% C 0.148 H 144.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#127520
RGBrgb(18, 117, 32)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 85%, 46%)
CMYKcmyk(84.6%, 0%, 72.6%, 54.1%)
CIE-LABlab(42.69, -44.71, 37.58)
CIE-LCHlch(42.69, 58.40, 139.95°)
OKLaboklab(49.13% -0.1207 0.0861)
OKLCHoklch(49.13% 0.148 144.5)
XYZxyz(6.8710, 12.9546, 3.5046)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127520 #751267
analogous
#367512 #127520 #127552
triadic
#127520 #201275 #752012
tetradic
#127520 #123675 #751267 #755212
square
#127520 #123675 #751267 #755212
split-complementary
#127520 #521275 #751236
monochromatic
#041B07 #0A4011 #127520 #1AAA2F #24DD3E

Accessibility & contrast

On white

5.85
#127520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#127520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127520
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127520#FFFFFF#000000##FFFFFF
##1275201.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127520;
/* rgb */ color: rgb(18, 117, 32);
/* oklch */ color: oklch(49.1% 0.148 144.5);
Tailwind
colors: {
  custom: {
    50: '#659e60',
    500: '#127520',
    950: '#000000',
  },
}
SCSS
$custom: #127520;
$custom-light: #659e60;
$custom-dark: #000000;
JSON
{
  "hex": "#127520",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 128.485,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.14825,
    "h": 144.5
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#127520
secondary
#AC379B
accent
#38D6F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #127520

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

Preview Lab → · Contrast checker → · Palette generator →

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