#12A02F#12A02F

#12A02F is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.5% C 0.188 H 145.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#12A02F
RGBrgb(18, 160, 47)
HSLhsl(132, 80%, 35%)
HSVhsv(132, 89%, 63%)
CMYKcmyk(88.8%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.53, -57.16, 47.03)
CIE-LCHlch(57.53, 74.03, 140.55°)
OKLaboklab(61.52% -0.154 0.1078)
OKLCHoklch(61.52% 0.188 145)
XYZxyz(13.3324, 25.4737, 6.9030)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12A02F #A01283
analogous
#3CA012 #12A02F #12A076
triadic
#12A02F #2F12A0 #A02F12
tetradic
#12A02F #123CA0 #A01283 #A07612
square
#12A02F #123CA0 #A01283 #A07612
split-complementary
#12A02F #7612A0 #A0123C
monochromatic
#06320F #0C691F #12A02F #18D73F #43EA65

Accessibility & contrast

On white

3.45
#12A02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#12A02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12A02F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12A02F#FFFFFF#000000##000000
##12A02F1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #12a02f;
/* rgb */ color: rgb(18, 160, 47);
/* oklch */ color: oklch(61.5% 0.188 145.0);
Tailwind
colors: {
  custom: {
    50: '#70bd6e',
    500: '#12a02f',
    950: '#000000',
  },
}
SCSS
$custom: #12a02f;
$custom-light: #70bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#12a02f",
  "rgb": {
    "r": 18,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 132.254,
    "s": 79.775,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.188,
    "h": 145
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#12A02F
secondary
#CA44AF
accent
#32CEF6
background
#F7FBF6
surface
#EDF7EC
border
#C8D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #12A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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