#12752B#12752B

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

Color values

HEX#12752B
RGBrgb(18, 117, 43)
HSLhsl(135, 73%, 26%)
HSVhsv(135, 85%, 46%)
CMYKcmyk(84.6%, 0%, 63.2%, 54.1%)
CIE-LABlab(42.80, -43.41, 32.60)
CIE-LCHlch(42.80, 54.29, 143.09°)
OKLaboklab(49.25% -0.1167 0.0768)
OKLCHoklch(49.25% 0.14 146.7)
XYZxyz(7.0462, 13.0247, 4.4277)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12752B #75125C
analogous
#2A7512 #12752B #12755D
triadic
#12752B #2B1275 #752B12
tetradic
#12752B #122A75 #75125C #755D12
square
#12752B #122A75 #75125C #755D12
split-complementary
#12752B #5D1275 #75122A
monochromatic
#041B0A #0A4018 #12752B #1AAA3E #24DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12752B#FFFFFF#000000##FFFFFF
##12752B1.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)
#776A23
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12752b;
/* rgb */ color: rgb(18, 117, 43);
/* oklch */ color: oklch(49.3% 0.140 146.7);
Tailwind
colors: {
  custom: {
    50: '#649e67',
    500: '#12752b',
    950: '#000000',
  },
}
SCSS
$custom: #12752b;
$custom-light: #649e67;
$custom-dark: #000000;
JSON
{
  "hex": "#12752b",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 135.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.1397,
    "h": 146.7
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#12752B
secondary
#AC378E
accent
#38C1F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12752B

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

Preview Lab → · Contrast checker → · Palette generator →

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