#127229#127229

#127229 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.138 H 146.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#127229
RGBrgb(18, 114, 41)
HSLhsl(134, 73%, 26%)
HSVhsv(134, 84%, 45%)
CMYKcmyk(84.2%, 0%, 64%, 55.3%)
CIE-LABlab(41.72, -42.61, 32.36)
CIE-LCHlch(41.72, 53.50, 142.79°)
OKLaboklab(48.35% -0.1146 0.076)
OKLCHoklch(48.35% 0.138 146.4)
XYZxyz(6.6665, 12.3225, 4.1245)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127229 #72125B
analogous
#2B7212 #127229 #127259
triadic
#127229 #291272 #722912
tetradic
#127229 #122B72 #72125B #725912
square
#127229 #122B72 #72125B #725912
split-complementary
#127229 #591272 #72122B
monochromatic
#041A0A #0A3D16 #127229 #1AA73C #23DC4F

Accessibility & contrast

On white

6.06
#127229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127229
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127229#FFFFFF#000000##FFFFFF
##1272291.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127229;
/* rgb */ color: rgb(18, 114, 41);
/* oklch */ color: oklch(48.4% 0.138 146.4);
Tailwind
colors: {
  custom: {
    50: '#649c66',
    500: '#127229',
    950: '#000000',
  },
}
SCSS
$custom: #127229;
$custom-light: #649c66;
$custom-dark: #000000;
JSON
{
  "hex": "#127229",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 134.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.13756,
    "h": 146.4
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#127229
secondary
#A9378E
accent
#38C4EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #127229

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

Preview Lab → · Contrast checker → · Palette generator →

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