#12762E#12762E

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

Color values

HEX#12762E
RGBrgb(18, 118, 46)
HSLhsl(137, 74%, 27%)
HSVhsv(137, 85%, 46%)
CMYKcmyk(84.7%, 0%, 61%, 53.7%)
CIE-LABlab(43.18, -43.35, 31.55)
CIE-LCHlch(43.18, 53.61, 143.95°)
OKLaboklab(49.58% -0.1165 0.0747)
OKLCHoklch(49.58% 0.138 147.3)
XYZxyz(7.2205, 13.2818, 4.7673)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762E #76125A
analogous
#287612 #12762E #127660
triadic
#12762E #2E1276 #762E12
tetradic
#12762E #122876 #76125A #766012
square
#12762E #122876 #76125A #766012
split-complementary
#12762E #601276 #761228
monochromatic
#041B0A #0A4119 #12762E #1AAB43 #25DE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12762E#FFFFFF#000000##FFFFFF
##12762E1.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)
#776B27
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12762e;
/* rgb */ color: rgb(18, 118, 46);
/* oklch */ color: oklch(49.6% 0.138 147.3);
Tailwind
colors: {
  custom: {
    50: '#649e69',
    500: '#12762e',
    950: '#000000',
  },
}
SCSS
$custom: #12762e;
$custom-light: #649e69;
$custom-dark: #000000;
JSON
{
  "hex": "#12762e",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 136.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.1384,
    "h": 147.3
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#12762E
secondary
#AD378C
accent
#38BDF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12762E

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

Preview Lab → · Contrast checker → · Palette generator →

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