#127642#127642

#127642 is a mid, moderate green. Relative luminance 0.135; OKLCH L 49.9% C 0.119 H 154.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#127642
RGBrgb(18, 118, 66)
HSLhsl(149, 74%, 27%)
HSVhsv(149, 85%, 46%)
CMYKcmyk(84.7%, 0%, 44.1%, 53.7%)
CIE-LABlab(43.47, -39.91, 21.11)
CIE-LCHlch(43.47, 45.15, 152.12°)
OKLaboklab(49.92% -0.1073 0.0523)
OKLCHoklch(49.92% 0.119 154)
XYZxyz(7.7105, 13.4779, 7.3483)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127642 #761246
analogous
#147612 #127642 #127674
triadic
#127642 #421276 #764212
tetradic
#127642 #121476 #761246 #767412
square
#127642 #121476 #761246 #767412
split-complementary
#127642 #741276 #761214
monochromatic
#041B0F #0A4124 #127642 #1AAB60 #25DE7E

Accessibility & contrast

On white

5.68
#127642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#127642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127642
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127642#FFFFFF#000000##FFFFFF
##1276421.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3E
Deuteranopia (green-blind)
#6B6446
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #127642;
/* rgb */ color: rgb(18, 118, 66);
/* oklch */ color: oklch(49.9% 0.119 154.0);
Tailwind
colors: {
  custom: {
    50: '#649e77',
    500: '#127642',
    950: '#000000',
  },
}
SCSS
$custom: #127642;
$custom-light: #649e77;
$custom-dark: #000000;
JSON
{
  "hex": "#127642",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 148.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.11938,
    "h": 154
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#127642
secondary
#AD3774
accent
#3898F0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127642

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

Preview Lab → · Contrast checker → · Palette generator →

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