#127118#127118

#127118 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.149 H 143.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#127118
RGBrgb(18, 113, 24)
HSLhsl(124, 73%, 26%)
HSVhsv(124, 84%, 44%)
CMYKcmyk(84.1%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.22, -44.09, 39.29)
CIE-LCHlch(41.22, 59.06, 138.30°)
OKLaboklab(47.89% -0.1194 0.0886)
OKLCHoklch(47.89% 0.149 143.4)
XYZxyz(6.3190, 12.0040, 2.8480)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127118 #71126B
analogous
#3C7112 #127118 #127147
triadic
#127118 #181271 #711812
tetradic
#127118 #123C71 #71126B #714712
square
#127118 #123C71 #71126B #714712
split-complementary
#127118 #471271 #71123C
monochromatic
#041A06 #0A3C0D #127118 #1AA623 #23DB2E

Accessibility & contrast

On white

6.17
#127118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#127118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127118
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127118#FFFFFF#000000##FFFFFF
##1271181.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #127118;
/* rgb */ color: rgb(18, 113, 24);
/* oklch */ color: oklch(47.9% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#649b5c',
    500: '#127118',
    950: '#000000',
  },
}
SCSS
$custom: #127118;
$custom-light: #649b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#127118",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 123.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.14867,
    "h": 143.4
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#127118
secondary
#A837A1
accent
#39E4EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #127118

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

Preview Lab → · Contrast checker → · Palette generator →

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