#12801D#12801D

#12801D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.163 H 143.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#12801D
RGBrgb(18, 128, 29)
HSLhsl(126, 75%, 29%)
HSVhsv(126, 86%, 50%)
CMYKcmyk(85.9%, 0%, 77.3%, 49.8%)
CIE-LABlab(46.52, -48.63, 42.71)
CIE-LCHlch(46.52, 64.72, 138.71°)
OKLaboklab(52.31% -0.1315 0.0964)
OKLCHoklch(52.31% 0.163 143.8)
XYZxyz(8.1898, 15.6546, 3.7522)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12801D #801275
analogous
#3E8012 #12801D #128054
triadic
#12801D #1D1280 #801D12
tetradic
#12801D #123E80 #801275 #805412
square
#12801D #123E80 #801275 #805412
split-complementary
#12801D #541280 #80123E
monochromatic
#041B06 #0A4A11 #12801D #1AB629 #2BE13D

Accessibility & contrast

On white

5.08
#12801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#12801D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12801D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12801D#FFFFFF#000000##FFFFFF
##12801D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837308
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12801d;
/* rgb */ color: rgb(18, 128, 29);
/* oklch */ color: oklch(52.3% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a660',
    500: '#12801d',
    950: '#000000',
  },
}
SCSS
$custom: #12801d;
$custom-light: #68a660;
$custom-dark: #000000;
JSON
{
  "hex": "#12801d",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 126,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.16307,
    "h": 143.8
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#12801D
secondary
#B638A9
accent
#36DFF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #12801D

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

Preview Lab → · Contrast checker → · Palette generator →

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