#127335#127335

#127335 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.128 H 149.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#127335
RGBrgb(18, 115, 53)
HSLhsl(142, 73%, 26%)
HSVhsv(142, 84%, 45%)
CMYKcmyk(84.3%, 0%, 53.9%, 54.9%)
CIE-LABlab(42.23, -41.17, 26.73)
CIE-LCHlch(42.23, 49.09, 147.00°)
OKLaboklab(48.82% -0.1105 0.0646)
OKLCHoklch(48.82% 0.128 149.7)
XYZxyz(7.0222, 12.6462, 5.4383)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127335 #731250
analogous
#207312 #127335 #127365
triadic
#127335 #351273 #733512
tetradic
#127335 #122073 #731250 #736512
square
#127335 #122073 #731250 #736512
split-complementary
#127335 #651273 #731220
monochromatic
#041A0C #0A3E1D #127335 #1AA84D #23DD66

Accessibility & contrast

On white

5.95
#127335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#127335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127335
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127335#FFFFFF#000000##FFFFFF
##1273351.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746830
Deuteranopia (green-blind)
#69613A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127335;
/* rgb */ color: rgb(18, 115, 53);
/* oklch */ color: oklch(48.8% 0.128 149.7);
Tailwind
colors: {
  custom: {
    50: '#639c6e',
    500: '#127335',
    950: '#000000',
  },
}
SCSS
$custom: #127335;
$custom-light: #639c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#127335",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 141.649,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.128,
    "h": 149.7
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#127335
secondary
#AA3780
accent
#38ADF0
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #127335

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

Preview Lab → · Contrast checker → · Palette generator →

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