#127528#127528

#127528 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.142 H 146.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#127528
RGBrgb(18, 117, 40)
HSLhsl(133, 73%, 26%)
HSVhsv(133, 85%, 46%)
CMYKcmyk(84.6%, 0%, 65.8%, 54.1%)
CIE-LABlab(42.77, -43.80, 34.03)
CIE-LCHlch(42.77, 55.46, 142.16°)
OKLaboklab(49.22% -0.1179 0.0795)
OKLCHoklch(49.22% 0.142 146)
XYZxyz(6.9932, 13.0035, 4.1484)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127528 #75125F
analogous
#2E7512 #127528 #12755A
triadic
#127528 #281275 #752812
tetradic
#127528 #122E75 #75125F #755A12
square
#127528 #122E75 #75125F #755A12
split-complementary
#127528 #5A1275 #75122E
monochromatic
#041B09 #0A4016 #127528 #1AAA3A #24DD4D

Accessibility & contrast

On white

5.83
#127528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#127528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127528
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127528#FFFFFF#000000##FFFFFF
##1275281.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127528;
/* rgb */ color: rgb(18, 117, 40);
/* oklch */ color: oklch(49.2% 0.142 146.0);
Tailwind
colors: {
  custom: {
    50: '#649e65',
    500: '#127528',
    950: '#000000',
  },
}
SCSS
$custom: #127528;
$custom-light: #649e65;
$custom-dark: #000000;
JSON
{
  "hex": "#127528",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 133.333,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.14219,
    "h": 146
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#127528
secondary
#AC3792
accent
#38C7F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127528

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

Preview Lab → · Contrast checker → · Palette generator →

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