#127215#127215

#127215 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.152 H 143.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#127215
RGBrgb(18, 114, 21)
HSLhsl(122, 73%, 26%)
HSVhsv(122, 84%, 45%)
CMYKcmyk(84.2%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.56, -44.66, 40.70)
CIE-LCHlch(41.56, 60.43, 137.66°)
OKLaboklab(48.16% -0.1211 0.0911)
OKLCHoklch(48.16% 0.152 143.1)
XYZxyz(6.4017, 12.2166, 2.7300)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127215 #72126F
analogous
#3F7212 #127215 #127245
triadic
#127215 #151272 #721512
tetradic
#127215 #123F72 #72126F #724512
square
#127215 #123F72 #72126F #724512
split-complementary
#127215 #451272 #72123F
monochromatic
#041A05 #0A3D0B #127215 #1AA71F #23DC28

Accessibility & contrast

On white

6.10
#127215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#127215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127215
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127215#FFFFFF#000000##FFFFFF
##1272151.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127215;
/* rgb */ color: rgb(18, 114, 21);
/* oklch */ color: oklch(48.2% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#659c5a',
    500: '#127215',
    950: '#000000',
  },
}
SCSS
$custom: #127215;
$custom-light: #659c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#127215",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 121.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.15151,
    "h": 143.1
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#127215
secondary
#A937A5
accent
#38EAEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127215

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

Preview Lab → · Contrast checker → · Palette generator →

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