#12801E#12801E

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

Color values

HEX#12801E
RGBrgb(18, 128, 30)
HSLhsl(127, 75%, 29%)
HSVhsv(127, 86%, 50%)
CMYKcmyk(85.9%, 0%, 76.6%, 49.8%)
CIE-LABlab(46.52, -48.55, 42.34)
CIE-LCHlch(46.52, 64.42, 138.91°)
OKLaboklab(52.31% -0.1312 0.0958)
OKLCHoklch(52.31% 0.162 143.9)
XYZxyz(8.2024, 15.6597, 3.8184)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12801E #801274
analogous
#3D8012 #12801E #128055
triadic
#12801E #1E1280 #801E12
tetradic
#12801E #123D80 #801274 #805512
square
#12801E #123D80 #801274 #805512
split-complementary
#12801E #551280 #80123D
monochromatic
#041B06 #0A4A11 #12801E #1AB62B #2BE13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12801E#FFFFFF#000000##FFFFFF
##12801E1.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)
#83730B
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12801e;
/* rgb */ color: rgb(18, 128, 30);
/* oklch */ color: oklch(52.3% 0.162 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a661',
    500: '#12801e',
    950: '#000000',
  },
}
SCSS
$custom: #12801e;
$custom-light: #68a661;
$custom-dark: #000000;
JSON
{
  "hex": "#12801e",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 126.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.16248,
    "h": 143.9
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#12801E
secondary
#B638A8
accent
#36DDF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #12801E

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

Preview Lab → · Contrast checker → · Palette generator →

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