#12762B#12762B

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

Color values

HEX#12762B
RGBrgb(18, 118, 43)
HSLhsl(135, 74%, 27%)
HSVhsv(135, 85%, 46%)
CMYKcmyk(84.7%, 0%, 63.6%, 53.7%)
CIE-LABlab(43.15, -43.76, 33.01)
CIE-LCHlch(43.15, 54.81, 142.97°)
OKLaboklab(49.54% -0.1177 0.0776)
OKLCHoklch(49.54% 0.141 146.6)
XYZxyz(7.1634, 13.2590, 4.4667)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12762B #76125D
analogous
#2B7612 #12762B #12765D
triadic
#12762B #2B1276 #762B12
tetradic
#12762B #122B76 #76125D #765D12
square
#12762B #122B76 #76125D #765D12
split-complementary
#12762B #5D1276 #76122B
monochromatic
#041B0A #0A4118 #12762B #1AAB3E #25DE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12762b;
/* rgb */ color: rgb(18, 118, 43);
/* oklch */ color: oklch(49.5% 0.141 146.6);
Tailwind
colors: {
  custom: {
    50: '#659f67',
    500: '#12762b',
    950: '#000000',
  },
}
SCSS
$custom: #12762b;
$custom-light: #659f67;
$custom-dark: #000000;
JSON
{
  "hex": "#12762b",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 135,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.14098,
    "h": 146.6
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#12762B
secondary
#AD378F
accent
#38C2F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #12762B

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

Preview Lab → · Contrast checker → · Palette generator →

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