#127217#127217

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

Color values

HEX#127217
RGBrgb(18, 114, 23)
HSLhsl(123, 73%, 26%)
HSVhsv(123, 84%, 45%)
CMYKcmyk(84.2%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.57, -44.51, 40.00)
CIE-LCHlch(41.57, 59.85, 138.05°)
OKLaboklab(48.18% -0.1206 0.0899)
OKLCHoklch(48.18% 0.15 143.3)
XYZxyz(6.4210, 12.2243, 2.8316)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127217 #72126D
analogous
#3D7212 #127217 #127247
triadic
#127217 #171272 #721712
tetradic
#127217 #123D72 #72126D #724712
square
#127217 #123D72 #72126D #724712
split-complementary
#127217 #471272 #72123D
monochromatic
#041A05 #0A3D0C #127217 #1AA722 #23DC2C

Accessibility & contrast

On white

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

On black

3.45
#127217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127217#FFFFFF#000000##FFFFFF
##1272171.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127217;
/* rgb */ color: rgb(18, 114, 23);
/* oklch */ color: oklch(48.2% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#659c5b',
    500: '#127217',
    950: '#000000',
  },
}
SCSS
$custom: #127217;
$custom-light: #659c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127217",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 123.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.15041,
    "h": 143.3
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#127217
secondary
#A937A3
accent
#38E6EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127217

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

Preview Lab → · Contrast checker → · Palette generator →

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