#12801F#12801F

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

Color values

HEX#12801F
RGBrgb(18, 128, 31)
HSLhsl(127, 75%, 29%)
HSVhsv(127, 86%, 50%)
CMYKcmyk(85.9%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.53, -48.46, 41.96)
CIE-LCHlch(46.53, 64.10, 139.11°)
OKLaboklab(52.32% -0.131 0.0951)
OKLCHoklch(52.32% 0.162 144)
XYZxyz(8.2154, 15.6648, 3.8867)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12801F #801273
analogous
#3C8012 #12801F #128056
triadic
#12801F #1F1280 #801F12
tetradic
#12801F #123C80 #801273 #805612
square
#12801F #123C80 #801273 #805612
split-complementary
#12801F #561280 #80123C
monochromatic
#041B06 #0A4A12 #12801F #1AB62C #2BE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12801f;
/* rgb */ color: rgb(18, 128, 31);
/* oklch */ color: oklch(52.3% 0.162 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a661',
    500: '#12801f',
    950: '#000000',
  },
}
SCSS
$custom: #12801f;
$custom-light: #68a661;
$custom-dark: #000000;
JSON
{
  "hex": "#12801f",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 127.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.16187,
    "h": 144
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#12801F
secondary
#B638A7
accent
#36DCF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #12801F

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

Preview Lab → · Contrast checker → · Palette generator →

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