#12811E#12811E

#12811E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.164 H 143.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#12811E
RGBrgb(18, 129, 30)
HSLhsl(126, 76%, 29%)
HSVhsv(126, 86%, 51%)
CMYKcmyk(86%, 0%, 76.7%, 49.4%)
CIE-LABlab(46.87, -48.87, 42.69)
CIE-LCHlch(46.87, 64.89, 138.87°)
OKLaboklab(52.6% -0.1321 0.0965)
OKLCHoklch(52.6% 0.164 143.9)
XYZxyz(8.3335, 15.9218, 3.8621)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12811E #811275
analogous
#3E8112 #12811E #128156
triadic
#12811E #1E1281 #811E12
tetradic
#12811E #123E81 #811275 #815612
square
#12811E #123E81 #811275 #815612
split-complementary
#12811E #561281 #81123E
monochromatic
#041B06 #0B4B12 #12811E #19B72A #2CE240

Accessibility & contrast

On white

5.02
#12811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#12811E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12811E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12811E#FFFFFF#000000##FFFFFF
##12811E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12811e;
/* rgb */ color: rgb(18, 129, 30);
/* oklch */ color: oklch(52.6% 0.164 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a761',
    500: '#12811e',
    950: '#000000',
  },
}
SCSS
$custom: #12811e;
$custom-light: #68a761;
$custom-dark: #000000;
JSON
{
  "hex": "#12811e",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 126.486,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.16363,
    "h": 143.9
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#12811E
secondary
#B738A9
accent
#36DEF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#071005
muted
#7A7F79

Preview Lab

Preview with #12811E

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

Preview Lab → · Contrast checker → · Palette generator →

#12811E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva