#127224#127224

#127224 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.142 H 145.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#127224
RGBrgb(18, 114, 36)
HSLhsl(131, 73%, 26%)
HSVhsv(131, 84%, 45%)
CMYKcmyk(84.2%, 0%, 68.4%, 55.3%)
CIE-LABlab(41.67, -43.24, 34.69)
CIE-LCHlch(41.67, 55.43, 141.26°)
OKLaboklab(48.29% -0.1165 0.0805)
OKLCHoklch(48.29% 0.142 145.4)
XYZxyz(6.5847, 12.2898, 3.6939)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127224 #721260
analogous
#307212 #127224 #127254
triadic
#127224 #241272 #722412
tetradic
#127224 #123072 #721260 #725412
square
#127224 #123072 #721260 #725412
split-complementary
#127224 #541272 #721230
monochromatic
#041A08 #0A3D13 #127224 #1AA735 #23DC45

Accessibility & contrast

On white

6.07
#127224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#127224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127224
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127224#FFFFFF#000000##FFFFFF
##1272241.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671A
Deuteranopia (green-blind)
#6A5F2B
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127224;
/* rgb */ color: rgb(18, 114, 36);
/* oklch */ color: oklch(48.3% 0.142 145.4);
Tailwind
colors: {
  custom: {
    50: '#649c62',
    500: '#127224',
    950: '#000000',
  },
}
SCSS
$custom: #127224;
$custom-light: #649c62;
$custom-dark: #000000;
JSON
{
  "hex": "#127224",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 131.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.14162,
    "h": 145.4
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#127224
secondary
#A93794
accent
#38CDEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #127224

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

Preview Lab → · Contrast checker → · Palette generator →

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