#12801A#12801A

#12801A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.165 H 143.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#12801A
RGBrgb(18, 128, 26)
HSLhsl(124, 75%, 29%)
HSVhsv(124, 86%, 50%)
CMYKcmyk(85.9%, 0%, 79.7%, 49.8%)
CIE-LABlab(46.50, -48.87, 43.77)
CIE-LCHlch(46.50, 65.60, 138.15°)
OKLaboklab(52.28% -0.1323 0.0982)
OKLCHoklch(52.28% 0.165 143.4)
XYZxyz(8.1545, 15.6405, 3.5662)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12801A #801278
analogous
#418012 #12801A #128051
triadic
#12801A #1A1280 #801A12
tetradic
#12801A #124180 #801278 #805112
square
#12801A #124180 #801278 #805112
split-complementary
#12801A #511280 #801241
monochromatic
#041B05 #0A4A0F #12801A #1AB625 #2BE138

Accessibility & contrast

On white

5.09
#12801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12801A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12801A#FFFFFF#000000##FFFFFF
##12801A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12801a;
/* rgb */ color: rgb(18, 128, 26);
/* oklch */ color: oklch(52.3% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a65f',
    500: '#12801a',
    950: '#000000',
  },
}
SCSS
$custom: #12801a;
$custom-light: #68a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#12801a",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 124.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.16475,
    "h": 143.4
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#12801A
secondary
#B638AC
accent
#36E4F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #12801A

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

Preview Lab → · Contrast checker → · Palette generator →

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