#127431#127431

#127431 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.133 H 148.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#127431
RGBrgb(18, 116, 49)
HSLhsl(139, 73%, 26%)
HSVhsv(139, 84%, 45%)
CMYKcmyk(84.5%, 0%, 57.8%, 54.5%)
CIE-LABlab(42.52, -42.18, 29.22)
CIE-LCHlch(42.52, 51.31, 145.29°)
OKLaboklab(49.05% -0.1133 0.0699)
OKLCHoklch(49.05% 0.133 148.3)
XYZxyz(7.0486, 12.8403, 5.0121)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127431 #741255
analogous
#247412 #127431 #127462
triadic
#127431 #311274 #743112
tetradic
#127431 #122474 #741255 #746212
square
#127431 #122474 #741255 #746212
split-complementary
#127431 #621274 #741224
monochromatic
#041A0B #0A3F1B #127431 #1AA947 #23DD5E

Accessibility & contrast

On white

5.89
#127431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#127431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127431
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127431#FFFFFF#000000##FFFFFF
##1274311.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127431;
/* rgb */ color: rgb(18, 116, 49);
/* oklch */ color: oklch(49.0% 0.133 148.3);
Tailwind
colors: {
  custom: {
    50: '#649d6b',
    500: '#127431',
    950: '#000000',
  },
}
SCSS
$custom: #127431;
$custom-light: #649d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#127431",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 138.98,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.13309,
    "h": 148.3
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #127431

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

Preview Lab → · Contrast checker → · Palette generator →

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