#12762C#12762C

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

Color values

HEX#12762C
RGBrgb(18, 118, 44)
HSLhsl(136, 74%, 27%)
HSVhsv(136, 85%, 46%)
CMYKcmyk(84.7%, 0%, 62.7%, 53.7%)
CIE-LABlab(43.16, -43.62, 32.53)
CIE-LCHlch(43.16, 54.42, 143.29°)
OKLaboklab(49.56% -0.1173 0.0767)
OKLCHoklch(49.56% 0.14 146.8)
XYZxyz(7.1820, 13.2664, 4.5645)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762C #76125C
analogous
#2A7612 #12762C #12765E
triadic
#12762C #2C1276 #762C12
tetradic
#12762C #122A76 #76125C #765E12
square
#12762C #122A76 #76125C #765E12
split-complementary
#12762C #5E1276 #76122A
monochromatic
#041B0A #0A4118 #12762C #1AAB40 #25DE55

Accessibility & contrast

On white

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

On black

3.65
#12762C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12762C#FFFFFF#000000##FFFFFF
##12762C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12762c;
/* rgb */ color: rgb(18, 118, 44);
/* oklch */ color: oklch(49.6% 0.140 146.8);
Tailwind
colors: {
  custom: {
    50: '#659f68',
    500: '#12762c',
    950: '#000000',
  },
}
SCSS
$custom: #12762c;
$custom-light: #659f68;
$custom-dark: #000000;
JSON
{
  "hex": "#12762c",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 44
  },
  "hsl": {
    "h": 135.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.14013,
    "h": 146.8
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#12762C
secondary
#AD378E
accent
#38C0F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12762C

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

Preview Lab → · Contrast checker → · Palette generator →

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