#12672F#12672F

#12672F is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.117 H 149.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#12672F
RGBrgb(18, 103, 47)
HSLhsl(140, 70%, 24%)
HSVhsv(140, 83%, 40%)
CMYKcmyk(82.5%, 0%, 54.4%, 59.6%)
CIE-LABlab(37.90, -37.64, 24.67)
CIE-LCHlch(37.90, 45.00, 146.76°)
OKLaboklab(45.21% -0.1011 0.0597)
OKLCHoklch(45.21% 0.117 149.5)
XYZxyz(5.6123, 10.0337, 4.3297)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12672F #67124A
analogous
#1F6712 #12672F #126759
triadic
#12672F #2F1267 #672F12
tetradic
#12672F #121F67 #67124A #675912
square
#12672F #121F67 #67124A #675912
split-complementary
#12672F #591267 #67121F
monochromatic
#051A0C #093317 #12672F #1B9B47 #24CF5F

Accessibility & contrast

On white

6.98
#12672F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#12672F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12672F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12672F#FFFFFF#000000##FFFFFF
##12672F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2A
Deuteranopia (green-blind)
#5E5733
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12672f;
/* rgb */ color: rgb(18, 103, 47);
/* oklch */ color: oklch(45.2% 0.117 149.5);
Tailwind
colors: {
  custom: {
    50: '#609369',
    500: '#12672f',
    950: '#000000',
  },
}
SCSS
$custom: #12672f;
$custom-light: #609369;
$custom-dark: #000000;
JSON
{
  "hex": "#12672f",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 47
  },
  "hsl": {
    "h": 140.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.11738,
    "h": 149.5
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#12672F
secondary
#9F367B
accent
#3BB0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12672F

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

Preview Lab → · Contrast checker → · Palette generator →

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