#127513#127513

#127513 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.156 H 142.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#127513
RGBrgb(18, 117, 19)
HSLhsl(121, 73%, 26%)
HSVhsv(121, 85%, 46%)
CMYKcmyk(84.6%, 0%, 83.8%, 54.1%)
CIE-LABlab(42.61, -45.79, 42.36)
CIE-LCHlch(42.61, 62.38, 137.23°)
OKLaboklab(49.03% -0.1242 0.0942)
OKLCHoklch(49.03% 0.156 142.8)
XYZxyz(6.7279, 12.8974, 2.7508)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127513 #751274
analogous
#437512 #127513 #127545
triadic
#127513 #131275 #751312
tetradic
#127513 #124375 #751274 #754512
square
#127513 #124375 #751274 #754512
split-complementary
#127513 #451275 #751243
monochromatic
#041B04 #0A400A #127513 #1AAA1C #24DD26

Accessibility & contrast

On white

5.87
#127513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#127513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127513
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127513#FFFFFF#000000##FFFFFF
##1275131.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127513;
/* rgb */ color: rgb(18, 117, 19);
/* oklch */ color: oklch(49.0% 0.156 142.8);
Tailwind
colors: {
  custom: {
    50: '#669e5a',
    500: '#127513',
    950: '#000000',
  },
}
SCSS
$custom: #127513;
$custom-light: #669e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127513",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 120.606,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.15594,
    "h": 142.8
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#127513
secondary
#AC37AA
accent
#38EEF0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127513

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

Preview Lab → · Contrast checker → · Palette generator →

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