#12802A#12802A

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

Color values

HEX#12802A
RGBrgb(18, 128, 42)
HSLhsl(133, 75%, 29%)
HSVhsv(133, 86%, 50%)
CMYKcmyk(85.9%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.62, -47.33, 37.39)
CIE-LCHlch(46.62, 60.32, 141.69°)
OKLaboklab(52.43% -0.1274 0.0869)
OKLCHoklch(52.43% 0.154 145.7)
XYZxyz(8.3859, 15.7331, 4.7849)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12802A #801268
analogous
#318012 #12802A #128061
triadic
#12802A #2A1280 #802A12
tetradic
#12802A #123180 #801268 #806112
square
#12802A #123180 #801268 #806112
split-complementary
#12802A #611280 #801231
monochromatic
#041B09 #0A4A18 #12802A #1AB63C #2BE153

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12802A#FFFFFF#000000##FFFFFF
##12802A1.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)
#82731F
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12802a;
/* rgb */ color: rgb(18, 128, 42);
/* oklch */ color: oklch(52.4% 0.154 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a667',
    500: '#12802a',
    950: '#000000',
  },
}
SCSS
$custom: #12802a;
$custom-light: #67a667;
$custom-dark: #000000;
JSON
{
  "hex": "#12802a",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 133.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.15423,
    "h": 145.7
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#12802A
secondary
#B6389A
accent
#36C9F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #12802A

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

Preview Lab → · Contrast checker → · Palette generator →

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