#12A12B#12A12B

#12A12B is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.192 H 144.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#12A12B
RGBrgb(18, 161, 43)
HSLhsl(130, 80%, 35%)
HSVhsv(130, 89%, 63%)
CMYKcmyk(88.8%, 0%, 73.3%, 36.9%)
CIE-LABlab(57.84, -57.85, 48.92)
CIE-LCHlch(57.84, 75.76, 139.78°)
OKLaboklab(61.76% -0.156 0.1112)
OKLCHoklch(61.76% 0.192 144.5)
XYZxyz(13.4294, 25.7910, 6.5554)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12A12B #A11288
analogous
#40A112 #12A12B #12A173
triadic
#12A12B #2B12A1 #A12B12
tetradic
#12A12B #1240A1 #A11288 #A17312
square
#12A12B #1240A1 #A11288 #A17312
split-complementary
#12A12B #7312A1 #A11240
monochromatic
#06330E #0C6A1C #12A12B #18D83A #43EA61

Accessibility & contrast

On white

3.41
#12A12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#12A12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12A12B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12A12B#FFFFFF#000000##000000
##12A12B1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #12a12b;
/* rgb */ color: rgb(18, 161, 43);
/* oklch */ color: oklch(61.8% 0.192 144.5);
Tailwind
colors: {
  custom: {
    50: '#71be6c',
    500: '#12a12b',
    950: '#000000',
  },
}
SCSS
$custom: #12a12b;
$custom-light: #71be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#12a12b",
  "rgb": {
    "r": 18,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 130.49,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.19164,
    "h": 144.5
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#12A12B
secondary
#CA45B3
accent
#31D4F6
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #12A12B

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

Preview Lab → · Contrast checker → · Palette generator →

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