#127227#127227

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

Color values

HEX#127227
RGBrgb(18, 114, 39)
HSLhsl(133, 73%, 26%)
HSVhsv(133, 84%, 45%)
CMYKcmyk(84.2%, 0%, 65.8%, 55.3%)
CIE-LABlab(41.70, -42.87, 33.31)
CIE-LCHlch(41.70, 54.29, 142.16°)
OKLaboklab(48.33% -0.1154 0.0779)
OKLCHoklch(48.33% 0.139 146)
XYZxyz(6.6325, 12.3089, 3.9454)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127227 #72125D
analogous
#2D7212 #127227 #127257
triadic
#127227 #271272 #722712
tetradic
#127227 #122D72 #72125D #725712
square
#127227 #122D72 #72125D #725712
split-complementary
#127227 #571272 #72122D
monochromatic
#041A09 #0A3D15 #127227 #1AA739 #23DC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127227#FFFFFF#000000##FFFFFF
##1272271.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)
#74671E
Deuteranopia (green-blind)
#69602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127227;
/* rgb */ color: rgb(18, 114, 39);
/* oklch */ color: oklch(48.3% 0.139 146.0);
Tailwind
colors: {
  custom: {
    50: '#649c64',
    500: '#127227',
    950: '#000000',
  },
}
SCSS
$custom: #127227;
$custom-light: #649c64;
$custom-dark: #000000;
JSON
{
  "hex": "#127227",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 133.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.13922,
    "h": 146
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#127227
secondary
#A93790
accent
#38C7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127227

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

Preview Lab → · Contrast checker → · Palette generator →

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