#12811A#12811A

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

Color values

HEX#12811A
RGBrgb(18, 129, 26)
HSLhsl(124, 76%, 29%)
HSVhsv(124, 86%, 51%)
CMYKcmyk(86%, 0%, 79.8%, 49.4%)
CIE-LABlab(46.85, -49.19, 44.11)
CIE-LCHlch(46.85, 66.07, 138.12°)
OKLaboklab(52.57% -0.1332 0.0989)
OKLCHoklch(52.57% 0.166 143.4)
XYZxyz(8.2856, 15.9027, 3.6099)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12811A #811279
analogous
#428112 #12811A #128152
triadic
#12811A #1A1281 #811A12
tetradic
#12811A #124281 #811279 #815212
square
#12811A #124281 #811279 #815212
split-complementary
#12811A #521281 #811242
monochromatic
#041B05 #0B4B0F #12811A #19B725 #2CE239

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12811A#FFFFFF#000000##FFFFFF
##12811A1.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)
#847401
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12811a;
/* rgb */ color: rgb(18, 129, 26);
/* oklch */ color: oklch(52.6% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#69a75f',
    500: '#12811a',
    950: '#000000',
  },
}
SCSS
$custom: #12811a;
$custom-light: #69a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#12811a",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 124.324,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.16588,
    "h": 143.4
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#12811A
secondary
#B738AD
accent
#36E5F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#071005
muted
#7A7F79

Preview Lab

Preview with #12811A

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

Preview Lab → · Contrast checker → · Palette generator →

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