#127531#127531

#127531 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.134 H 148.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#127531
RGBrgb(18, 117, 49)
HSLhsl(139, 73%, 26%)
HSVhsv(139, 85%, 46%)
CMYKcmyk(84.6%, 0%, 58.1%, 54.1%)
CIE-LABlab(42.87, -42.54, 29.64)
CIE-LCHlch(42.87, 51.85, 145.13°)
OKLaboklab(49.34% -0.1142 0.0708)
OKLCHoklch(49.34% 0.134 148.2)
XYZxyz(7.1645, 13.0720, 5.0507)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127531 #751256
analogous
#257512 #127531 #127563
triadic
#127531 #311275 #753112
tetradic
#127531 #122575 #751256 #756312
square
#127531 #122575 #751256 #756312
split-complementary
#127531 #631275 #751225
monochromatic
#041B0B #0A401B #127531 #1AAA47 #24DD5E

Accessibility & contrast

On white

5.81
#127531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#127531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127531
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127531#FFFFFF#000000##FFFFFF
##1275311.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127531;
/* rgb */ color: rgb(18, 117, 49);
/* oklch */ color: oklch(49.3% 0.134 148.2);
Tailwind
colors: {
  custom: {
    50: '#649e6b',
    500: '#127531',
    950: '#000000',
  },
}
SCSS
$custom: #127531;
$custom-light: #649e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#127531",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 138.788,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.13441,
    "h": 148.2
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#127531
secondary
#AC3787
accent
#38B6F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127531

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

Preview Lab → · Contrast checker → · Palette generator →

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