#12651F#12651F

#12651F is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.129 H 145.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#12651F
RGBrgb(18, 101, 31)
HSLhsl(129, 70%, 23%)
HSVhsv(129, 82%, 40%)
CMYKcmyk(82.2%, 0%, 69.3%, 60.4%)
CIE-LABlab(36.99, -39.22, 31.88)
CIE-LCHlch(36.99, 50.54, 140.89°)
OKLaboklab(44.39% -0.1058 0.074)
OKLCHoklch(44.39% 0.129 145)
XYZxyz(5.1501, 9.5343, 2.8649)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12651F #651258
analogous
#2E6512 #12651F #126548
triadic
#12651F #1F1265 #651F12
tetradic
#12651F #122E65 #651258 #654812
square
#12651F #122E65 #651258 #654812
split-complementary
#12651F #481265 #65122E
monochromatic
#051A08 #09310F #12651F #1B992F #25CD3F

Accessibility & contrast

On white

7.22
#12651F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#12651F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12651F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12651F#FFFFFF#000000##FFFFFF
##12651F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#006256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #12651f;
/* rgb */ color: rgb(18, 101, 31);
/* oklch */ color: oklch(44.4% 0.129 145.0);
Tailwind
colors: {
  custom: {
    50: '#60925e',
    500: '#12651f',
    950: '#000000',
  },
}
SCSS
$custom: #12651f;
$custom-light: #60925e;
$custom-dark: #000000;
JSON
{
  "hex": "#12651f",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 129.398,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4439,
    "c": 0.1291,
    "h": 145
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#12651F
secondary
#9D368D
accent
#3BD1ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12651F

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

Preview Lab → · Contrast checker → · Palette generator →

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