#12602F#12602F

#12602F is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.108 H 150.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#12602F
RGBrgb(18, 96, 47)
HSLhsl(142, 68%, 22%)
HSVhsv(142, 81%, 38%)
CMYKcmyk(81.3%, 0%, 51%, 62.4%)
CIE-LABlab(35.40, -34.89, 21.54)
CIE-LCHlch(35.40, 41.00, 148.30°)
OKLaboklab(43.13% -0.0938 0.0526)
OKLCHoklch(43.13% 0.108 150.7)
XYZxyz(4.9450, 8.6990, 4.1072)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12602F #601243
analogous
#1C6012 #12602F #126056
triadic
#12602F #2F1260 #602F12
tetradic
#12602F #121C60 #601243 #605612
square
#12602F #121C60 #601243 #605612
split-complementary
#12602F #561260 #60121C
monochromatic
#051A0D #082C16 #12602F #1C9448 #25C761

Accessibility & contrast

On white

7.66
#12602F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#12602F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12602F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12602F#FFFFFF#000000##FFFFFF
##12602F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#575132
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #12602f;
/* rgb */ color: rgb(18, 96, 47);
/* oklch */ color: oklch(43.1% 0.108 150.7);
Tailwind
colors: {
  custom: {
    50: '#5e8e68',
    500: '#12602f',
    950: '#000000',
  },
}
SCSS
$custom: #12602f;
$custom-light: #5e8e68;
$custom-dark: #000000;
JSON
{
  "hex": "#12602f",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 47
  },
  "hsl": {
    "h": 142.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.10751,
    "h": 150.7
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#12602F
secondary
#983674
accent
#3DAAEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #12602F

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

Preview Lab → · Contrast checker → · Palette generator →

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