#12A118#12A118

#12A118 is a mid, highly saturated green. Relative luminance 0.257; OKLCH L 61.6% C 0.201 H 142.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#12A118
RGBrgb(18, 161, 24)
HSLhsl(123, 80%, 35%)
HSVhsv(123, 89%, 63%)
CMYKcmyk(88.8%, 0%, 85.1%, 36.9%)
CIE-LABlab(57.73, -59.16, 54.90)
CIE-LCHlch(57.73, 80.72, 137.14°)
OKLaboklab(61.64% -0.1604 0.1212)
OKLCHoklch(61.64% 0.201 142.9)
XYZxyz(13.1583, 25.6826, 5.1277)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12A118 #A1129B
analogous
#54A112 #12A118 #12A15F
triadic
#12A118 #1812A1 #A11812
tetradic
#12A118 #1254A1 #A1129B #A15F12
square
#12A118 #1254A1 #A1129B #A15F12
split-complementary
#12A118 #5F12A1 #A11254
monochromatic
#063308 #0C6A10 #12A118 #18D820 #43EA4A

Accessibility & contrast

On white

3.42
#12A118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#12A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12A118
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12A118#FFFFFF#000000##000000
##12A1181.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #12a118;
/* rgb */ color: rgb(18, 161, 24);
/* oklch */ color: oklch(61.6% 0.201 142.9);
Tailwind
colors: {
  custom: {
    50: '#72be63',
    500: '#12a118',
    950: '#000000',
  },
}
SCSS
$custom: #12a118;
$custom-light: #72be63;
$custom-dark: #000000;
JSON
{
  "hex": "#12a118",
  "rgb": {
    "r": 18,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 122.517,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.20101,
    "h": 142.9
  },
  "luminance": 0.25684
}

Semantic roles & 50–950 ramp

primary
#12A118
secondary
#CA45C5
accent
#31EEF6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #12A118

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

Preview Lab → · Contrast checker → · Palette generator →

#12A118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva