#12530C#12530C

#12530C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.119 H 141.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#12530C
RGBrgb(18, 83, 12)
HSLhsl(115, 75%, 19%)
HSVhsv(115, 86%, 33%)
CMYKcmyk(78.3%, 0%, 85.5%, 67.5%)
CIE-LABlab(30.26, -34.50, 32.99)
CIE-LCHlch(30.26, 47.73, 136.28°)
OKLaboklab(38.75% -0.094 0.0736)
OKLCHoklch(38.75% 0.119 141.9)
XYZxyz(3.4089, 6.3413, 1.3921)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12530C #4D0C53
analogous
#35530C #12530C #0C5329
triadic
#12530C #0C1253 #530C12
tetradic
#12530C #0C3553 #4D0C53 #53290C
square
#12530C #0C3553 #4D0C53 #53290C
split-complementary
#12530C #290C53 #530C35
monochromatic
#061B04 #061E04 #12530C #1E8814 #29BE1B

Accessibility & contrast

On white

9.26
#12530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#12530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12530C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12530C#FFFFFF#000000##FFFFFF
##12530C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#015046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12530c;
/* rgb */ color: rgb(18, 83, 12);
/* oklch */ color: oklch(38.7% 0.119 141.9);
Tailwind
colors: {
  custom: {
    50: '#5c8451',
    500: '#12530c',
    950: '#000000',
  },
}
SCSS
$custom: #12530c;
$custom-light: #5c8451;
$custom-dark: #000000;
JSON
{
  "hex": "#12530c",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 114.93,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.11937,
    "h": 141.9
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#12530C
secondary
#862D8E
accent
#36F1E2
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #12530C

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

Preview Lab → · Contrast checker → · Palette generator →

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