#12752F#12752F

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

Color values

HEX#12752F
RGBrgb(18, 117, 47)
HSLhsl(138, 73%, 26%)
HSVhsv(138, 85%, 46%)
CMYKcmyk(84.6%, 0%, 59.8%, 54.1%)
CIE-LABlab(42.85, -42.84, 30.64)
CIE-LCHlch(42.85, 52.67, 144.42°)
OKLaboklab(49.31% -0.1151 0.0729)
OKLCHoklch(49.31% 0.136 147.7)
XYZxyz(7.1233, 13.0555, 4.8333)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12752F #751258
analogous
#277512 #12752F #127561
triadic
#12752F #2F1275 #752F12
tetradic
#12752F #122775 #751258 #756112
square
#12752F #122775 #751258 #756112
split-complementary
#12752F #611275 #751227
monochromatic
#041B0B #0A401A #12752F #1AAA44 #24DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12752F#FFFFFF#000000##FFFFFF
##12752F1.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)
#766A28
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12752f;
/* rgb */ color: rgb(18, 117, 47);
/* oklch */ color: oklch(49.3% 0.136 147.7);
Tailwind
colors: {
  custom: {
    50: '#649e6a',
    500: '#12752f',
    950: '#000000',
  },
}
SCSS
$custom: #12752f;
$custom-light: #649e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#12752f",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 137.576,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.13622,
    "h": 147.7
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#12752F
secondary
#AC378A
accent
#38BAF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12752F

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

Preview Lab → · Contrast checker → · Palette generator →

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