#12812C#12812C

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

Color values

HEX#12812C
RGBrgb(18, 129, 44)
HSLhsl(134, 76%, 29%)
HSVhsv(134, 86%, 51%)
CMYKcmyk(86%, 0%, 65.9%, 49.4%)
CIE-LABlab(46.99, -47.43, 36.88)
CIE-LCHlch(46.99, 60.08, 142.14°)
OKLaboklab(52.74% -0.1276 0.086)
OKLCHoklch(52.74% 0.154 146)
XYZxyz(8.5537, 16.0099, 5.0218)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12812C #811267
analogous
#308112 #12812C #128164
triadic
#12812C #2C1281 #812C12
tetradic
#12812C #123081 #811267 #816412
square
#12812C #123081 #811267 #816412
split-complementary
#12812C #641281 #811230
monochromatic
#041B09 #0B4B1A #12812C #19B73E #2CE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12812C#FFFFFF#000000##FFFFFF
##12812C1.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)
#837422
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12812c;
/* rgb */ color: rgb(18, 129, 44);
/* oklch */ color: oklch(52.7% 0.154 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a769',
    500: '#12812c',
    950: '#000000',
  },
}
SCSS
$custom: #12812c;
$custom-light: #68a769;
$custom-dark: #000000;
JSON
{
  "hex": "#12812c",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 134.054,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.1539,
    "h": 146
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#12812C
secondary
#B73899
accent
#36C6F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #12812C

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

Preview Lab → · Contrast checker → · Palette generator →

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