#127342#127342

#127342 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.115 H 154.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#127342
RGBrgb(18, 115, 66)
HSLhsl(150, 73%, 26%)
HSVhsv(150, 84%, 45%)
CMYKcmyk(84.3%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.43, -38.73, 19.75)
CIE-LCHlch(42.43, 43.47, 152.98°)
OKLaboklab(49.06% -0.1042 0.0491)
OKLCHoklch(49.06% 0.115 154.8)
XYZxyz(7.3628, 12.7825, 7.2324)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127342 #731243
analogous
#127312 #127342 #127372
triadic
#127342 #421273 #734212
tetradic
#127342 #121273 #731243 #737212
square
#127342 #121273 #731243 #737212
split-complementary
#127342 #721273 #731212
monochromatic
#041A0F #0A3E24 #127342 #1AA860 #23DD7F

Accessibility & contrast

On white

5.90
#127342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#127342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127342
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127342#FFFFFF#000000##FFFFFF
##1273421.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127342;
/* rgb */ color: rgb(18, 115, 66);
/* oklch */ color: oklch(49.1% 0.115 154.8);
Tailwind
colors: {
  custom: {
    50: '#639c77',
    500: '#127342',
    950: '#000000',
  },
}
SCSS
$custom: #127342;
$custom-light: #639c77;
$custom-dark: #000000;
JSON
{
  "hex": "#127342",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 149.691,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.11522,
    "h": 154.8
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#127342
secondary
#AA3771
accent
#3895F0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127342

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

Preview Lab → · Contrast checker → · Palette generator →

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