#12733F#12733F

#12733F is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.118 H 153.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#12733F
RGBrgb(18, 115, 63)
HSLhsl(148, 73%, 26%)
HSVhsv(148, 84%, 45%)
CMYKcmyk(84.3%, 0%, 45.2%, 54.9%)
CIE-LABlab(42.38, -39.33, 21.39)
CIE-LCHlch(42.38, 44.77, 151.46°)
OKLaboklab(49% -0.1057 0.0529)
OKLCHoklch(49% 0.118 153.4)
XYZxyz(7.2767, 12.7480, 6.7788)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12733F #731246
analogous
#157312 #12733F #12736F
triadic
#12733F #3F1273 #733F12
tetradic
#12733F #121573 #731246 #736F12
square
#12733F #121573 #731246 #736F12
split-complementary
#12733F #6F1273 #731215
monochromatic
#041A0E #0A3E22 #12733F #1AA85C #23DD79

Accessibility & contrast

On white

5.92
#12733F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#12733F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12733F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12733F#FFFFFF#000000##FFFFFF
##12733F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693B
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #12733f;
/* rgb */ color: rgb(18, 115, 63);
/* oklch */ color: oklch(49.0% 0.118 153.4);
Tailwind
colors: {
  custom: {
    50: '#639c75',
    500: '#12733f',
    950: '#000000',
  },
}
SCSS
$custom: #12733f;
$custom-light: #639c75;
$custom-dark: #000000;
JSON
{
  "hex": "#12733f",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 63
  },
  "hsl": {
    "h": 147.835,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.11821,
    "h": 153.4
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#12733F
secondary
#AA3775
accent
#389BF0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #12733F

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

Preview Lab → · Contrast checker → · Palette generator →

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