#12531A#12531A

#12531A is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.109 H 144.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#12531A
RGBrgb(18, 83, 26)
HSLhsl(127, 64%, 20%)
HSVhsv(127, 78%, 33%)
CMYKcmyk(78.3%, 0%, 68.7%, 67.5%)
CIE-LABlab(30.37, -33.09, 26.97)
CIE-LCHlch(30.37, 42.69, 140.81°)
OKLaboklab(38.88% -0.0894 0.063)
OKLCHoklch(38.88% 0.109 144.8)
XYZxyz(3.5289, 6.3893, 2.0244)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12531A #53124B
analogous
#2A5312 #12531A #12533B
triadic
#12531A #1A1253 #531A12
tetradic
#12531A #122A53 #53124B #533B12
square
#12531A #122A53 #53124B #533B12
split-complementary
#12531A #3B1253 #53122A
monochromatic
#051908 #07210A #12531A #1D852A #28B83A

Accessibility & contrast

On white

9.22
#12531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#12531A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12531A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12531A#FFFFFF#000000##FFFFFF
##12531A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B13
Deuteranopia (green-blind)
#4D451F
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12531a;
/* rgb */ color: rgb(18, 83, 26);
/* oklch */ color: oklch(38.9% 0.109 144.8);
Tailwind
colors: {
  custom: {
    50: '#5c8459',
    500: '#12531a',
    950: '#000000',
  },
}
SCSS
$custom: #12531a;
$custom-light: #5c8459;
$custom-dark: #000000;
JSON
{
  "hex": "#12531a",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 127.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38882,
    "c": 0.10934,
    "h": 144.8
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#12531A
secondary
#8C3581
accent
#40D3E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #12531A

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

Preview Lab → · Contrast checker → · Palette generator →

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