#12762F#12762F

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

Color values

HEX#12762F
RGBrgb(18, 118, 47)
HSLhsl(137, 74%, 27%)
HSVhsv(137, 85%, 46%)
CMYKcmyk(84.7%, 0%, 60.2%, 53.7%)
CIE-LABlab(43.20, -43.20, 31.06)
CIE-LCHlch(43.20, 53.21, 144.29°)
OKLaboklab(49.6% -0.1161 0.0738)
OKLCHoklch(49.6% 0.138 147.6)
XYZxyz(7.2404, 13.2898, 4.8724)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762F #761259
analogous
#277612 #12762F #127661
triadic
#12762F #2F1276 #762F12
tetradic
#12762F #122776 #761259 #766112
square
#12762F #122776 #761259 #766112
split-complementary
#12762F #611276 #761227
monochromatic
#041B0B #0A411A #12762F #1AAB44 #25DE5A

Accessibility & contrast

On white

5.74
#12762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12762F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12762F#FFFFFF#000000##FFFFFF
##12762F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B28
Deuteranopia (green-blind)
#6D6335
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12762f;
/* rgb */ color: rgb(18, 118, 47);
/* oklch */ color: oklch(49.6% 0.138 147.6);
Tailwind
colors: {
  custom: {
    50: '#649e6a',
    500: '#12762f',
    950: '#000000',
  },
}
SCSS
$custom: #12762f;
$custom-light: #649e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#12762f",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 137.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.13752,
    "h": 147.6
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#12762F
secondary
#AD378B
accent
#38BBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12762F

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

Preview Lab → · Contrast checker → · Palette generator →

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