#127542#127542

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

Color values

HEX#127542
RGBrgb(18, 117, 66)
HSLhsl(149, 73%, 26%)
HSVhsv(149, 85%, 46%)
CMYKcmyk(84.6%, 0%, 43.6%, 54.1%)
CIE-LABlab(43.13, -39.52, 20.66)
CIE-LCHlch(43.13, 44.59, 152.40°)
OKLaboklab(49.63% -0.1063 0.0513)
OKLCHoklch(49.63% 0.118 154.3)
XYZxyz(7.5934, 13.2436, 7.3093)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127542 #751245
analogous
#147512 #127542 #127574
triadic
#127542 #421275 #754212
tetradic
#127542 #121475 #751245 #757412
square
#127542 #121475 #751245 #757412
split-complementary
#127542 #741275 #751214
monochromatic
#041B0F #0A4024 #127542 #1AAA60 #24DD7E

Accessibility & contrast

On white

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

On black

3.65
#127542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127542#FFFFFF#000000##FFFFFF
##1275421.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#007468
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127542;
/* rgb */ color: rgb(18, 117, 66);
/* oklch */ color: oklch(49.6% 0.118 154.3);
Tailwind
colors: {
  custom: {
    50: '#649e77',
    500: '#127542',
    950: '#000000',
  },
}
SCSS
$custom: #127542;
$custom-light: #649e77;
$custom-dark: #000000;
JSON
{
  "hex": "#127542",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 66
  },
  "hsl": {
    "h": 149.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.118,
    "h": 154.3
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#127542
secondary
#AC3773
accent
#3897F0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127542

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

Preview Lab → · Contrast checker → · Palette generator →

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