#12522B#12522B

#12522B is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.091 H 152.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#12522B
RGBrgb(18, 82, 43)
HSLhsl(143, 64%, 20%)
HSVhsv(143, 78%, 32%)
CMYKcmyk(78%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.25, -29.85, 17.30)
CIE-LCHlch(30.25, 34.50, 149.91°)
OKLaboklab(38.86% -0.0804 0.0427)
OKLCHoklch(38.86% 0.091 152)
XYZxyz(3.7025, 6.3372, 3.3131)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12522B #521239
analogous
#195212 #12522B #12524B
triadic
#12522B #2B1252 #522B12
tetradic
#12522B #121952 #521239 #524B12
square
#12522B #121952 #521239 #524B12
split-complementary
#12522B #4B1252 #521219
monochromatic
#06190D #072011 #12522B #1D8445 #28B660

Accessibility & contrast

On white

9.26
#12522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#12522B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12522B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12522B#FFFFFF#000000##FFFFFF
##12522B1.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)
#524B28
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12522b;
/* rgb */ color: rgb(18, 82, 43);
/* oklch */ color: oklch(38.9% 0.091 152.0);
Tailwind
colors: {
  custom: {
    50: '#5b8365',
    500: '#12522b',
    950: '#000000',
  },
}
SCSS
$custom: #12522b;
$custom-light: #5b8365;
$custom-dark: #000000;
JSON
{
  "hex": "#12522b",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 143.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.09102,
    "h": 152
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#12522B
secondary
#8B3569
accent
#41A6E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12522B

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

Preview Lab → · Contrast checker → · Palette generator →

#12522B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva