#12602A#12602A

#12602A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.0% C 0.113 H 148.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#12602A
RGBrgb(18, 96, 42)
HSLhsl(138, 68%, 22%)
HSVhsv(138, 81%, 38%)
CMYKcmyk(81.3%, 0%, 56.3%, 62.4%)
CIE-LABlab(35.32, -35.77, 24.26)
CIE-LCHlch(35.32, 43.22, 145.85°)
OKLaboklab(43.05% -0.0961 0.0584)
OKLCHoklch(43.05% 0.113 148.7)
XYZxyz(4.8499, 8.6609, 3.6062)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12602A #601248
analogous
#216012 #12602A #126051
triadic
#12602A #2A1260 #602A12
tetradic
#12602A #122160 #601248 #605112
square
#12602A #122160 #601248 #605112
split-complementary
#12602A #511260 #601221
monochromatic
#051A0B #082C13 #12602A #1C9441 #25C757

Accessibility & contrast

On white

7.69
#12602A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#12602A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12602A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12602A#FFFFFF#000000##FFFFFF
##12602A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #12602a;
/* rgb */ color: rgb(18, 96, 42);
/* oklch */ color: oklch(43.0% 0.113 148.7);
Tailwind
colors: {
  custom: {
    50: '#5e8e65',
    500: '#12602a',
    950: '#000000',
  },
}
SCSS
$custom: #12602a;
$custom-light: #5e8e65;
$custom-dark: #000000;
JSON
{
  "hex": "#12602a",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 42
  },
  "hsl": {
    "h": 138.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.1125,
    "h": 148.7
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#12602A
secondary
#98367A
accent
#3DB6EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #12602A

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

Preview Lab → · Contrast checker → · Palette generator →

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