#127522#127522

#127522 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.147 H 144.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#127522
RGBrgb(18, 117, 34)
HSLhsl(130, 73%, 26%)
HSVhsv(130, 85%, 46%)
CMYKcmyk(84.6%, 0%, 70.9%, 54.1%)
CIE-LABlab(42.71, -44.50, 36.73)
CIE-LCHlch(42.71, 57.70, 140.46°)
OKLaboklab(49.15% -0.12 0.0846)
OKLCHoklch(49.15% 0.147 144.8)
XYZxyz(6.8990, 12.9658, 3.6521)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127522 #751265
analogous
#347512 #127522 #127554
triadic
#127522 #221275 #752212
tetradic
#127522 #123475 #751265 #755412
square
#127522 #123475 #751265 #755412
split-complementary
#127522 #541275 #751234
monochromatic
#041B08 #0A4013 #127522 #1AAA31 #24DD42

Accessibility & contrast

On white

5.84
#127522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#127522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127522
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127522#FFFFFF#000000##FFFFFF
##1275221.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776916
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127522;
/* rgb */ color: rgb(18, 117, 34);
/* oklch */ color: oklch(49.2% 0.147 144.8);
Tailwind
colors: {
  custom: {
    50: '#659e62',
    500: '#127522',
    950: '#000000',
  },
}
SCSS
$custom: #127522;
$custom-light: #659e62;
$custom-dark: #000000;
JSON
{
  "hex": "#127522",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 129.697,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.14683,
    "h": 144.8
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#127522
secondary
#AC3799
accent
#38D2F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #127522

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

Preview Lab → · Contrast checker → · Palette generator →

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