#12902B#12902B

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

Color values

HEX#12902B
RGBrgb(18, 144, 43)
HSLhsl(132, 78%, 32%)
HSVhsv(132, 88%, 56%)
CMYKcmyk(87.5%, 0%, 70.1%, 43.5%)
CIE-LABlab(52.12, -52.50, 42.93)
CIE-LCHlch(52.12, 67.81, 140.73°)
OKLaboklab(57% -0.1415 0.0987)
OKLCHoklch(57% 0.172 145.1)
XYZxyz(10.6580, 20.2482, 5.6316)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12902B #901277
analogous
#389012 #12902B #12906A
triadic
#12902B #2B1290 #902B12
tetradic
#12902B #123890 #901277 #906A12
square
#12902B #123890 #901277 #906A12
split-complementary
#12902B #6A1290 #901238
monochromatic
#04230B #0B5A1B #12902B #19C63B #36E659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12902B#FFFFFF#000000##000000
##12902B1.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)
#92821D
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#12902B
secondary
#C43AA9
accent
#34CEF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #12902B

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

Preview Lab → · Contrast checker → · Palette generator →

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