#12531E#12531E

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

Color values

HEX#12531E
RGBrgb(18, 83, 30)
HSLhsl(131, 64%, 20%)
HSVhsv(131, 78%, 33%)
CMYKcmyk(78.3%, 0%, 63.9%, 67.5%)
CIE-LABlab(30.42, -32.53, 24.94)
CIE-LCHlch(30.42, 40.99, 142.53°)
OKLaboklab(38.93% -0.0877 0.059)
OKLCHoklch(38.93% 0.106 146.1)
XYZxyz(3.5768, 6.4084, 2.2765)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12531E #531247
analogous
#275312 #12531E #12533F
triadic
#12531E #1E1253 #531E12
tetradic
#12531E #122753 #531247 #533F12
square
#12531E #122753 #531247 #533F12
split-complementary
#12531E #3F1253 #531227
monochromatic
#051909 #07210C #12531E #1D8530 #28B842

Accessibility & contrast

On white

9.20
#12531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12531E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12531E#FFFFFF#000000##FFFFFF
##12531E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12531e;
/* rgb */ color: rgb(18, 83, 30);
/* oklch */ color: oklch(38.9% 0.106 146.1);
Tailwind
colors: {
  custom: {
    50: '#5b845c',
    500: '#12531e',
    950: '#000000',
  },
}
SCSS
$custom: #12531e;
$custom-light: #5b845c;
$custom-dark: #000000;
JSON
{
  "hex": "#12531e",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 131.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.10573,
    "h": 146.1
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#12531E
secondary
#8C357C
accent
#40C9E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12531E

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

Preview Lab → · Contrast checker → · Palette generator →

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