#127218#127218

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

Color values

HEX#127218
RGBrgb(18, 114, 24)
HSLhsl(124, 73%, 26%)
HSVhsv(124, 84%, 45%)
CMYKcmyk(84.2%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.58, -44.43, 39.64)
CIE-LCHlch(41.58, 59.55, 138.26°)
OKLaboklab(48.18% -0.1203 0.0893)
OKLCHoklch(48.18% 0.15 143.4)
XYZxyz(6.4312, 12.2284, 2.8853)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127218 #72126C
analogous
#3C7212 #127218 #127248
triadic
#127218 #181272 #721812
tetradic
#127218 #123C72 #72126C #724812
square
#127218 #123C72 #72126C #724812
split-complementary
#127218 #481272 #72123C
monochromatic
#041A06 #0A3D0D #127218 #1AA723 #23DC2E

Accessibility & contrast

On white

6.09
#127218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127218
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127218#FFFFFF#000000##FFFFFF
##1272181.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #127218;
/* rgb */ color: rgb(18, 114, 24);
/* oklch */ color: oklch(48.2% 0.150 143.4);
Tailwind
colors: {
  custom: {
    50: '#649c5c',
    500: '#127218',
    950: '#000000',
  },
}
SCSS
$custom: #127218;
$custom-light: #649c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127218",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 123.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.14984,
    "h": 143.4
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#127218
secondary
#A937A2
accent
#38E4EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127218

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

Preview Lab → · Contrast checker → · Palette generator →

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