#12762D#12762D

#12762D is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.139 H 147.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#12762D
RGBrgb(18, 118, 45)
HSLhsl(136, 74%, 27%)
HSVhsv(136, 85%, 46%)
CMYKcmyk(84.7%, 0%, 61.9%, 53.7%)
CIE-LABlab(43.17, -43.49, 32.04)
CIE-LCHlch(43.17, 54.02, 143.62°)
OKLaboklab(49.57% -0.1169 0.0757)
OKLCHoklch(49.57% 0.139 147.1)
XYZxyz(7.2010, 13.2740, 4.6647)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762D #76125B
analogous
#297612 #12762D #12765F
triadic
#12762D #2D1276 #762D12
tetradic
#12762D #122976 #76125B #765F12
square
#12762D #122976 #76125B #765F12
split-complementary
#12762D #5F1276 #761229
monochromatic
#041B0A #0A4119 #12762D #1AAB41 #25DE57

Accessibility & contrast

On white

5.75
#12762D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#12762D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12762D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12762D#FFFFFF#000000##FFFFFF
##12762D1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B25
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12762d;
/* rgb */ color: rgb(18, 118, 45);
/* oklch */ color: oklch(49.6% 0.139 147.1);
Tailwind
colors: {
  custom: {
    50: '#659f68',
    500: '#12762d',
    950: '#000000',
  },
}
SCSS
$custom: #12762d;
$custom-light: #659f68;
$custom-dark: #000000;
JSON
{
  "hex": "#12762d",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 136.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.13927,
    "h": 147.1
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12762D

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

Preview Lab → · Contrast checker → · Palette generator →

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