#127B27#127B27

#127B27 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.150 H 145.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#127B27
RGBrgb(18, 123, 39)
HSLhsl(132, 74%, 28%)
HSVhsv(132, 85%, 48%)
CMYKcmyk(85.4%, 0%, 68.3%, 51.8%)
CIE-LABlab(44.86, -45.99, 36.82)
CIE-LCHlch(44.86, 58.91, 141.32°)
OKLaboklab(50.95% -0.1239 0.0853)
OKLCHoklch(50.95% 0.15 145.4)
XYZxyz(7.6981, 14.4400, 4.3006)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B27 #7B1266
analogous
#317B12 #127B27 #127B5B
triadic
#127B27 #27127B #7B2712
tetradic
#127B27 #12317B #7B1266 #7B5B12
square
#127B27 #12317B #7B1266 #7B5B12
split-complementary
#127B27 #5B127B #7B1231
monochromatic
#041B08 #0A4616 #127B27 #1AB038 #28E04D

Accessibility & contrast

On white

5.40
#127B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#127B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B27
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B27#FFFFFF#000000##FFFFFF
##127B271.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127b27;
/* rgb */ color: rgb(18, 123, 39);
/* oklch */ color: oklch(50.9% 0.150 145.4);
Tailwind
colors: {
  custom: {
    50: '#66a265',
    500: '#127b27',
    950: '#000000',
  },
}
SCSS
$custom: #127b27;
$custom-light: #66a265;
$custom-dark: #000000;
JSON
{
  "hex": "#127b27",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 132,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.15043,
    "h": 145.4
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#127B27
secondary
#B13899
accent
#37CCF1
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127B27

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

Preview Lab → · Contrast checker → · Palette generator →

#127B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva