#12811D#12811D

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

Color values

HEX#12811D
RGBrgb(18, 129, 29)
HSLhsl(126, 76%, 29%)
HSVhsv(126, 86%, 51%)
CMYKcmyk(86%, 0%, 77.5%, 49.4%)
CIE-LABlab(46.87, -48.96, 43.05)
CIE-LCHlch(46.87, 65.19, 138.67°)
OKLaboklab(52.59% -0.1324 0.0971)
OKLCHoklch(52.59% 0.164 143.7)
XYZxyz(8.3209, 15.9168, 3.7959)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12811D #811276
analogous
#3F8112 #12811D #128155
triadic
#12811D #1D1281 #811D12
tetradic
#12811D #123F81 #811276 #815512
square
#12811D #123F81 #811276 #815512
split-complementary
#12811D #551281 #81123F
monochromatic
#041B06 #0B4B11 #12811D #19B729 #2CE23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12811D#FFFFFF#000000##FFFFFF
##12811D1.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)
#847408
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12811d;
/* rgb */ color: rgb(18, 129, 29);
/* oklch */ color: oklch(52.6% 0.164 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a760',
    500: '#12811d',
    950: '#000000',
  },
}
SCSS
$custom: #12811d;
$custom-light: #68a760;
$custom-dark: #000000;
JSON
{
  "hex": "#12811d",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 125.946,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.16421,
    "h": 143.7
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#12811D
secondary
#B738AA
accent
#36DFF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#071005
muted
#7A7F79

Preview Lab

Preview with #12811D

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

Preview Lab → · Contrast checker → · Palette generator →

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