#12530F#12530F

#12530F is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.118 H 142.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#12530F
RGBrgb(18, 83, 15)
HSLhsl(117, 69%, 19%)
HSVhsv(117, 82%, 33%)
CMYKcmyk(78.3%, 0%, 81.9%, 67.5%)
CIE-LABlab(30.28, -34.26, 31.88)
CIE-LCHlch(30.28, 46.80, 137.06°)
OKLaboklab(38.77% -0.0932 0.0718)
OKLCHoklch(38.77% 0.118 142.4)
XYZxyz(3.4287, 6.3492, 1.4967)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12530F #500F53
analogous
#34530F #12530F #0F532E
triadic
#12530F #0F1253 #530F12
tetradic
#12530F #0F3453 #500F53 #532E0F
square
#12530F #0F3453 #500F53 #532E0F
split-complementary
#12530F #2E0F53 #530F34
monochromatic
#061A05 #071F06 #12530F #1D8718 #28BB22

Accessibility & contrast

On white

9.25
#12530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12530F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12530F#FFFFFF#000000##FFFFFF
##12530F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12530f;
/* rgb */ color: rgb(18, 83, 15);
/* oklch */ color: oklch(38.8% 0.118 142.4);
Tailwind
colors: {
  custom: {
    50: '#5c8453',
    500: '#12530f',
    950: '#000000',
  },
}
SCSS
$custom: #12530f;
$custom-light: #5c8453;
$custom-dark: #000000;
JSON
{
  "hex": "#12530f",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 117.353,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3877,
    "c": 0.11761,
    "h": 142.4
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#12530F
secondary
#89318D
accent
#3CECE4
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #12530F

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

Preview Lab → · Contrast checker → · Palette generator →

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