#12531D#12531D

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

Color values

HEX#12531D
RGBrgb(18, 83, 29)
HSLhsl(130, 64%, 20%)
HSVhsv(130, 78%, 33%)
CMYKcmyk(78.3%, 0%, 65.1%, 67.5%)
CIE-LABlab(30.41, -32.68, 25.46)
CIE-LCHlch(30.41, 41.42, 142.08°)
OKLaboklab(38.92% -0.0882 0.06)
OKLCHoklch(38.92% 0.107 145.8)
XYZxyz(3.5642, 6.4034, 2.2103)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12531D #531248
analogous
#285312 #12531D #12533E
triadic
#12531D #1D1253 #531D12
tetradic
#12531D #122853 #531248 #533E12
square
#12531D #122853 #531248 #533E12
split-complementary
#12531D #3E1253 #531228
monochromatic
#051909 #07210B #12531D #1D852F #28B840

Accessibility & contrast

On white

9.21
#12531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12531D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12531D#FFFFFF#000000##FFFFFF
##12531D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12531d;
/* rgb */ color: rgb(18, 83, 29);
/* oklch */ color: oklch(38.9% 0.107 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b845b',
    500: '#12531d',
    950: '#000000',
  },
}
SCSS
$custom: #12531d;
$custom-light: #5b845b;
$custom-dark: #000000;
JSON
{
  "hex": "#12531d",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 130.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.10665,
    "h": 145.8
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#12531D
secondary
#8C357D
accent
#40CBE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12531D

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

Preview Lab → · Contrast checker → · Palette generator →

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