#12812B#12812B

#12812B is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.155 H 145.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#12812B
RGBrgb(18, 129, 43)
HSLhsl(134, 76%, 29%)
HSVhsv(134, 86%, 51%)
CMYKcmyk(86%, 0%, 66.7%, 49.4%)
CIE-LABlab(46.98, -47.55, 37.33)
CIE-LCHlch(46.98, 60.45, 141.87°)
OKLaboklab(52.72% -0.128 0.0869)
OKLCHoklch(52.72% 0.155 145.8)
XYZxyz(8.5351, 16.0025, 4.9240)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12812B #811268
analogous
#308112 #12812B #128163
triadic
#12812B #2B1281 #812B12
tetradic
#12812B #123081 #811268 #816312
square
#12812B #123081 #811268 #816312
split-complementary
#12812B #631281 #811230
monochromatic
#041B09 #0B4B19 #12812B #19B73D #2CE255

Accessibility & contrast

On white

5.00
#12812B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#12812B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12812B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12812B#FFFFFF#000000##FFFFFF
##12812B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12812b;
/* rgb */ color: rgb(18, 129, 43);
/* oklch */ color: oklch(52.7% 0.155 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a768',
    500: '#12812b',
    950: '#000000',
  },
}
SCSS
$custom: #12812b;
$custom-light: #68a768;
$custom-dark: #000000;
JSON
{
  "hex": "#12812b",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 133.514,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.15468,
    "h": 145.8
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#12812B
secondary
#B7389A
accent
#36C8F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #12812B

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

Preview Lab → · Contrast checker → · Palette generator →

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