#12762A#12762A

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

Color values

HEX#12762A
RGBrgb(18, 118, 42)
HSLhsl(134, 74%, 27%)
HSVhsv(134, 85%, 46%)
CMYKcmyk(84.7%, 0%, 64.4%, 53.7%)
CIE-LABlab(43.14, -43.89, 33.48)
CIE-LCHlch(43.14, 55.20, 142.66°)
OKLaboklab(49.53% -0.1181 0.0785)
OKLCHoklch(49.53% 0.142 146.4)
XYZxyz(7.1453, 13.2518, 4.3713)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762A #76125E
analogous
#2C7612 #12762A #12765C
triadic
#12762A #2A1276 #762A12
tetradic
#12762A #122C76 #76125E #765C12
square
#12762A #122C76 #76125E #765C12
split-complementary
#12762A #5C1276 #76122C
monochromatic
#041B09 #0A4117 #12762A #1AAB3D #25DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12762A#FFFFFF#000000##FFFFFF
##12762A1.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)
#786A22
Deuteranopia (green-blind)
#6D6331
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12762a;
/* rgb */ color: rgb(18, 118, 42);
/* oklch */ color: oklch(49.5% 0.142 146.4);
Tailwind
colors: {
  custom: {
    50: '#659f67',
    500: '#12762a',
    950: '#000000',
  },
}
SCSS
$custom: #12762a;
$custom-light: #659f67;
$custom-dark: #000000;
JSON
{
  "hex": "#12762a",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 134.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.14181,
    "h": 146.4
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#12762A
secondary
#AD3790
accent
#38C4F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #12762A

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

Preview Lab → · Contrast checker → · Palette generator →

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