#12531F#12531F

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

Color values

HEX#12531F
RGBrgb(18, 83, 31)
HSLhsl(132, 64%, 20%)
HSVhsv(132, 78%, 33%)
CMYKcmyk(78.3%, 0%, 62.7%, 67.5%)
CIE-LABlab(30.43, -32.38, 24.41)
CIE-LCHlch(30.43, 40.56, 142.99°)
OKLaboklab(38.95% -0.0873 0.0579)
OKLCHoklch(38.95% 0.105 146.4)
XYZxyz(3.5898, 6.4136, 2.3448)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12531F #531246
analogous
#265312 #12531F #125340
triadic
#12531F #1F1253 #531F12
tetradic
#12531F #122653 #531246 #534012
square
#12531F #122653 #531246 #534012
split-complementary
#12531F #401253 #531226
monochromatic
#051909 #07210C #12531F #1D8532 #28B845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12531F#FFFFFF#000000##FFFFFF
##12531F1.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)
#544B1A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12531f;
/* rgb */ color: rgb(18, 83, 31);
/* oklch */ color: oklch(38.9% 0.105 146.4);
Tailwind
colors: {
  custom: {
    50: '#5b845c',
    500: '#12531f',
    950: '#000000',
  },
}
SCSS
$custom: #12531f;
$custom-light: #5b845c;
$custom-dark: #000000;
JSON
{
  "hex": "#12531f",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 132,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.10478,
    "h": 146.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#12531F
secondary
#8C357A
accent
#40C6E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12531F

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

Preview Lab → · Contrast checker → · Palette generator →

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