#127540#127540

#127540 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.6% C 0.120 H 153.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#127540
RGBrgb(18, 117, 64)
HSLhsl(148, 73%, 26%)
HSVhsv(148, 85%, 46%)
CMYKcmyk(84.6%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.09, -39.92, 21.75)
CIE-LCHlch(43.09, 45.46, 151.42°)
OKLaboklab(49.59% -0.1073 0.0537)
OKLCHoklch(49.59% 0.12 153.4)
XYZxyz(7.5354, 13.2204, 7.0041)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127540 #751247
analogous
#167512 #127540 #127572
triadic
#127540 #401275 #754012
tetradic
#127540 #121675 #751247 #757212
square
#127540 #121675 #751247 #757212
split-complementary
#127540 #721275 #751216
monochromatic
#041B0F #0A4023 #127540 #1AAA5D #24DD7A

Accessibility & contrast

On white

5.76
#127540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#127540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127540
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127540#FFFFFF#000000##FFFFFF
##1275401.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127540;
/* rgb */ color: rgb(18, 117, 64);
/* oklch */ color: oklch(49.6% 0.120 153.4);
Tailwind
colors: {
  custom: {
    50: '#649e75',
    500: '#127540',
    950: '#000000',
  },
}
SCSS
$custom: #127540;
$custom-light: #649e75;
$custom-dark: #000000;
JSON
{
  "hex": "#127540",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 147.879,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.11999,
    "h": 153.4
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#127540
secondary
#AC3776
accent
#389AF0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127540

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

Preview Lab → · Contrast checker → · Palette generator →

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