#127240#127240

#127240 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.7% C 0.116 H 154.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#127240
RGBrgb(18, 114, 64)
HSLhsl(149, 73%, 26%)
HSVhsv(149, 84%, 45%)
CMYKcmyk(84.2%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.05, -38.74, 20.39)
CIE-LCHlch(42.05, 43.78, 152.24°)
OKLaboklab(48.73% -0.1042 0.0506)
OKLCHoklch(48.73% 0.116 154.1)
XYZxyz(7.1915, 12.5325, 6.8895)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127240 #721244
analogous
#147212 #127240 #127270
triadic
#127240 #401272 #724012
tetradic
#127240 #121472 #721244 #727012
square
#127240 #121472 #721244 #727012
split-complementary
#127240 #701272 #721214
monochromatic
#041A0F #0A3D22 #127240 #1AA75E #23DC7B

Accessibility & contrast

On white

5.99
#127240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#127240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127240
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127240#FFFFFF#000000##FFFFFF
##1272401.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127240;
/* rgb */ color: rgb(18, 114, 64);
/* oklch */ color: oklch(48.7% 0.116 154.1);
Tailwind
colors: {
  custom: {
    50: '#639b75',
    500: '#127240',
    950: '#000000',
  },
}
SCSS
$custom: #127240;
$custom-light: #639b75;
$custom-dark: #000000;
JSON
{
  "hex": "#127240",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 148.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.11582,
    "h": 154.1
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#127240
secondary
#A93772
accent
#3898EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #127240

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

Preview Lab → · Contrast checker → · Palette generator →

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