#127340#127340

#127340 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.0% C 0.117 H 153.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#127340
RGBrgb(18, 115, 64)
HSLhsl(148, 73%, 26%)
HSVhsv(148, 84%, 45%)
CMYKcmyk(84.3%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.40, -39.13, 20.84)
CIE-LCHlch(42.40, 44.34, 151.96°)
OKLaboklab(49.02% -0.1052 0.0516)
OKLCHoklch(49.02% 0.117 153.9)
XYZxyz(7.3049, 12.7593, 6.9273)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127340 #731245
analogous
#147312 #127340 #127370
triadic
#127340 #401273 #734012
tetradic
#127340 #121473 #731245 #737012
square
#127340 #121473 #731245 #737012
split-complementary
#127340 #701273 #731214
monochromatic
#041A0F #0A3E23 #127340 #1AA85D #23DD7B

Accessibility & contrast

On white

5.91
#127340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#127340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127340
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127340#FFFFFF#000000##FFFFFF
##1273401.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127340;
/* rgb */ color: rgb(18, 115, 64);
/* oklch */ color: oklch(49.0% 0.117 153.9);
Tailwind
colors: {
  custom: {
    50: '#639c75',
    500: '#127340',
    950: '#000000',
  },
}
SCSS
$custom: #127340;
$custom-light: #639c75;
$custom-dark: #000000;
JSON
{
  "hex": "#127340",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 148.454,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.11721,
    "h": 153.9
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#127340
secondary
#AA3773
accent
#3899F0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127340

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

Preview Lab → · Contrast checker → · Palette generator →

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