#127538#127538

#127538 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.128 H 150.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#127538
RGBrgb(18, 117, 56)
HSLhsl(143, 73%, 26%)
HSVhsv(143, 85%, 46%)
CMYKcmyk(84.6%, 0%, 52.1%, 54.1%)
CIE-LABlab(42.97, -41.40, 26.03)
CIE-LCHlch(42.97, 48.90, 147.84°)
OKLaboklab(49.45% -0.1111 0.0632)
OKLCHoklch(49.45% 0.128 150.4)
XYZxyz(7.3239, 13.1358, 5.8901)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127538 #75124F
analogous
#1E7512 #127538 #12756A
triadic
#127538 #381275 #753812
tetradic
#127538 #121E75 #75124F #756A12
square
#127538 #121E75 #75124F #756A12
split-complementary
#127538 #6A1275 #75121E
monochromatic
#041B0D #0A401F #127538 #1AAA51 #24DD6B

Accessibility & contrast

On white

5.79
#127538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#127538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127538
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127538#FFFFFF#000000##FFFFFF
##1275381.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A33
Deuteranopia (green-blind)
#6B623C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127538;
/* rgb */ color: rgb(18, 117, 56);
/* oklch */ color: oklch(49.4% 0.128 150.4);
Tailwind
colors: {
  custom: {
    50: '#649e70',
    500: '#127538',
    950: '#000000',
  },
}
SCSS
$custom: #127538;
$custom-light: #649e70;
$custom-dark: #000000;
JSON
{
  "hex": "#127538",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 143.03,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.12783,
    "h": 150.4
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#127538
secondary
#AC377F
accent
#38A9F0
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127538

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

Preview Lab → · Contrast checker → · Palette generator →

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