#12902C#12902C

#12902C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.0% C 0.172 H 145.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#12902C
RGBrgb(18, 144, 44)
HSLhsl(132, 78%, 32%)
HSVhsv(132, 88%, 56%)
CMYKcmyk(87.5%, 0%, 69.4%, 43.5%)
CIE-LABlab(52.13, -52.39, 42.51)
CIE-LCHlch(52.13, 67.47, 140.94°)
OKLaboklab(57.01% -0.1411 0.0979)
OKLCHoklch(57.01% 0.172 145.2)
XYZxyz(10.6765, 20.2556, 5.7294)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12902C #901276
analogous
#379012 #12902C #12906B
triadic
#12902C #2C1290 #902C12
tetradic
#12902C #123790 #901276 #906B12
square
#12902C #123790 #901276 #906B12
split-complementary
#12902C #6B1290 #901237
monochromatic
#04230B #0B5A1B #12902C #19C63D #36E65B

Accessibility & contrast

On white

4.16
#12902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#12902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12902C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12902C#FFFFFF#000000##000000
##12902C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #12902c;
/* rgb */ color: rgb(18, 144, 44);
/* oklch */ color: oklch(57.0% 0.172 145.2);
Tailwind
colors: {
  custom: {
    50: '#6cb26a',
    500: '#12902c',
    950: '#000000',
  },
}
SCSS
$custom: #12902c;
$custom-light: #6cb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#12902c",
  "rgb": {
    "r": 18,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 132.381,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57008,
    "c": 0.17177,
    "h": 145.2
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#12902C
secondary
#C43AA7
accent
#34CDF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #12902C

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

Preview Lab → · Contrast checker → · Palette generator →

#12902C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva