#12761F#12761F

#12761F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.4% C 0.150 H 144.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#12761F
RGBrgb(18, 118, 31)
HSLhsl(128, 74%, 27%)
HSVhsv(128, 85%, 46%)
CMYKcmyk(84.7%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.04, -45.15, 38.36)
CIE-LCHlch(43.04, 59.24, 139.64°)
OKLaboklab(49.42% -0.1219 0.0876)
OKLCHoklch(49.42% 0.15 144.3)
XYZxyz(6.9747, 13.1835, 3.4731)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12761F #761269
analogous
#377612 #12761F #127651
triadic
#12761F #1F1276 #761F12
tetradic
#12761F #123776 #761269 #765112
square
#12761F #123776 #761269 #765112
split-complementary
#12761F #511276 #761237
monochromatic
#041B07 #0A4111 #12761F #1AAB2D #25DE3D

Accessibility & contrast

On white

5.77
#12761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#12761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12761F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12761F#FFFFFF#000000##FFFFFF
##12761F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12761f;
/* rgb */ color: rgb(18, 118, 31);
/* oklch */ color: oklch(49.4% 0.150 144.3);
Tailwind
colors: {
  custom: {
    50: '#659f60',
    500: '#12761f',
    950: '#000000',
  },
}
SCSS
$custom: #12761f;
$custom-light: #659f60;
$custom-dark: #000000;
JSON
{
  "hex": "#12761f",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 127.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49415,
    "c": 0.15014,
    "h": 144.3
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#12761F
secondary
#AD379D
accent
#38D8F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12761F

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

Preview Lab → · Contrast checker → · Palette generator →

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