#12760F#12760F

#12760F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.159 H 142.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#12760F
RGBrgb(18, 118, 15)
HSLhsl(118, 77%, 26%)
HSVhsv(118, 87%, 46%)
CMYKcmyk(84.7%, 0%, 87.3%, 53.7%)
CIE-LABlab(42.94, -46.35, 43.85)
CIE-LCHlch(42.94, 63.81, 136.59°)
OKLaboklab(49.3% -0.1259 0.0968)
OKLCHoklch(49.3% 0.159 142.5)
XYZxyz(6.8137, 13.1191, 2.6250)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12760F #730F76
analogous
#45760F #12760F #0F763F
triadic
#12760F #0F1276 #760F12
tetradic
#12760F #0F4576 #730F76 #763F0F
square
#12760F #0F4576 #730F76 #763F0F
split-complementary
#12760F #3F0F76 #760F45
monochromatic
#041B03 #0A4008 #12760F #1AAC16 #23E21D

Accessibility & contrast

On white

5.79
#12760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#12760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12760F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12760F#FFFFFF#000000##FFFFFF
##12760F1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12760f;
/* rgb */ color: rgb(18, 118, 15);
/* oklch */ color: oklch(49.3% 0.159 142.5);
Tailwind
colors: {
  custom: {
    50: '#669f59',
    500: '#12760f',
    950: '#000000',
  },
}
SCSS
$custom: #12760f;
$custom-light: #669f59;
$custom-dark: #000000;
JSON
{
  "hex": "#12760f",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 118.252,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.15882,
    "h": 142.5
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#12760F
secondary
#AA33AD
accent
#34F4EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #12760F

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

Preview Lab → · Contrast checker → · Palette generator →

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