#12801C#12801C

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

Color values

HEX#12801C
RGBrgb(18, 128, 28)
HSLhsl(125, 75%, 29%)
HSVhsv(125, 86%, 50%)
CMYKcmyk(85.9%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.51, -48.71, 43.07)
CIE-LCHlch(46.51, 65.02, 138.52°)
OKLaboklab(52.3% -0.1318 0.097)
OKLCHoklch(52.3% 0.164 143.6)
XYZxyz(8.1777, 15.6498, 3.6881)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12801C #801276
analogous
#3F8012 #12801C #128053
triadic
#12801C #1C1280 #801C12
tetradic
#12801C #123F80 #801276 #805312
square
#12801C #123F80 #801276 #805312
split-complementary
#12801C #531280 #80123F
monochromatic
#041B06 #0A4A10 #12801C #1AB628 #2BE13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12801C#FFFFFF#000000##FFFFFF
##12801C1.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)
#837306
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #12801c;
/* rgb */ color: rgb(18, 128, 28);
/* oklch */ color: oklch(52.3% 0.164 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a660',
    500: '#12801c',
    950: '#000000',
  },
}
SCSS
$custom: #12801c;
$custom-light: #68a660;
$custom-dark: #000000;
JSON
{
  "hex": "#12801c",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 125.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.16364,
    "h": 143.6
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#12801C
secondary
#B638AA
accent
#36E1F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #12801C

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

Preview Lab → · Contrast checker → · Palette generator →

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