#127526#127526

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

Color values

HEX#127526
RGBrgb(18, 117, 38)
HSLhsl(132, 73%, 26%)
HSVhsv(132, 85%, 46%)
CMYKcmyk(84.6%, 0%, 67.5%, 54.1%)
CIE-LABlab(42.75, -44.04, 34.95)
CIE-LCHlch(42.75, 56.22, 141.57°)
OKLaboklab(49.19% -0.1186 0.0813)
OKLCHoklch(49.19% 0.144 145.6)
XYZxyz(6.9601, 12.9903, 3.9739)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127526 #751261
analogous
#307512 #127526 #127558
triadic
#127526 #261275 #752612
tetradic
#127526 #123075 #751261 #755812
square
#127526 #123075 #751261 #755812
split-complementary
#127526 #581275 #751230
monochromatic
#041B09 #0A4015 #127526 #1AAA37 #24DD4A

Accessibility & contrast

On white

5.84
#127526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127526
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127526#FFFFFF#000000##FFFFFF
##1275261.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127526;
/* rgb */ color: rgb(18, 117, 38);
/* oklch */ color: oklch(49.2% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#659e64',
    500: '#127526',
    950: '#000000',
  },
}
SCSS
$custom: #127526;
$custom-light: #659e64;
$custom-dark: #000000;
JSON
{
  "hex": "#127526",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 132.121,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.1438,
    "h": 145.6
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#127526
secondary
#AC3794
accent
#38CBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127526

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

Preview Lab → · Contrast checker → · Palette generator →

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