#127F24#127F24

#127F24 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.157 H 144.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127F24
RGBrgb(18, 127, 36)
HSLhsl(130, 75%, 28%)
HSVhsv(130, 86%, 50%)
CMYKcmyk(85.8%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.22, -47.66, 39.61)
CIE-LCHlch(46.22, 61.97, 140.27°)
OKLaboklab(52.08% -0.1286 0.0909)
OKLCHoklch(52.08% 0.157 144.8)
XYZxyz(8.1567, 15.4337, 4.2178)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F24 #7F126D
analogous
#367F12 #127F24 #127F5A
triadic
#127F24 #24127F #7F2412
tetradic
#127F24 #12367F #7F126D #7F5A12
square
#127F24 #12367F #7F126D #7F5A12
split-complementary
#127F24 #5A127F #7F1236
monochromatic
#041B08 #0A4915 #127F24 #1AB533 #2BE149

Accessibility & contrast

On white

5.14
#127F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F24#FFFFFF#000000##FFFFFF
##127F241.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f24;
/* rgb */ color: rgb(18, 127, 36);
/* oklch */ color: oklch(52.1% 0.157 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a564',
    500: '#127f24',
    950: '#000000',
  },
}
SCSS
$custom: #127f24;
$custom-light: #68a564;
$custom-dark: #000000;
JSON
{
  "hex": "#127f24",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 129.908,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.15742,
    "h": 144.8
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#127F24
secondary
#B538A0
accent
#36D3F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #127F24

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

Preview Lab → · Contrast checker → · Palette generator →

#127F24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva