#12752D#12752D

#12752D is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.138 H 147.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#12752D
RGBrgb(18, 117, 45)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 85%, 46%)
CMYKcmyk(84.6%, 0%, 61.5%, 54.1%)
CIE-LABlab(42.82, -43.13, 31.63)
CIE-LCHlch(42.82, 53.49, 143.74°)
OKLaboklab(49.28% -0.1159 0.0748)
OKLCHoklch(49.28% 0.138 147.2)
XYZxyz(7.0838, 13.0398, 4.6257)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12752D #75125A
analogous
#297512 #12752D #12755F
triadic
#12752D #2D1275 #752D12
tetradic
#12752D #122975 #75125A #755F12
square
#12752D #122975 #75125A #755F12
split-complementary
#12752D #5F1275 #751229
monochromatic
#041B0A #0A4019 #12752D #1AAA41 #24DD57

Accessibility & contrast

On white

5.82
#12752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#12752D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12752D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12752D#FFFFFF#000000##FFFFFF
##12752D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A26
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12752d;
/* rgb */ color: rgb(18, 117, 45);
/* oklch */ color: oklch(49.3% 0.138 147.2);
Tailwind
colors: {
  custom: {
    50: '#649e68',
    500: '#12752d',
    950: '#000000',
  },
}
SCSS
$custom: #12752d;
$custom-light: #649e68;
$custom-dark: #000000;
JSON
{
  "hex": "#12752d",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 136.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.13797,
    "h": 147.2
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#12752D
secondary
#AC378C
accent
#38BEF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12752D

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

Preview Lab → · Contrast checker → · Palette generator →

#12752D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva