#12802B#12802B

#12802B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.153 H 145.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#12802B
RGBrgb(18, 128, 43)
HSLhsl(134, 75%, 29%)
HSVhsv(134, 86%, 50%)
CMYKcmyk(85.9%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.63, -47.21, 36.94)
CIE-LCHlch(46.63, 59.95, 141.96°)
OKLaboklab(52.44% -0.1271 0.086)
OKLCHoklch(52.44% 0.153 145.9)
XYZxyz(8.4040, 15.7403, 4.8803)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12802B #801267
analogous
#308012 #12802B #128062
triadic
#12802B #2B1280 #802B12
tetradic
#12802B #123080 #801267 #806212
square
#12802B #123080 #801267 #806212
split-complementary
#12802B #621280 #801230
monochromatic
#041B09 #0A4A19 #12802B #1AB63D #2BE155

Accessibility & contrast

On white

5.06
#12802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#12802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12802B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12802B#FFFFFF#000000##FFFFFF
##12802B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827321
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12802b;
/* rgb */ color: rgb(18, 128, 43);
/* oklch */ color: oklch(52.4% 0.153 145.9);
Tailwind
colors: {
  custom: {
    50: '#67a668',
    500: '#12802b',
    950: '#000000',
  },
}
SCSS
$custom: #12802b;
$custom-light: #67a668;
$custom-dark: #000000;
JSON
{
  "hex": "#12802b",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 133.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.15345,
    "h": 145.9
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#12802B
secondary
#B63899
accent
#36C7F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #12802B

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

Preview Lab → · Contrast checker → · Palette generator →

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