#12522E#12522E

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

Color values

HEX#12522E
RGBrgb(18, 82, 46)
HSLhsl(146, 64%, 20%)
HSVhsv(146, 78%, 32%)
CMYKcmyk(78%, 0%, 43.9%, 67.8%)
CIE-LABlab(30.30, -29.22, 15.56)
CIE-LCHlch(30.30, 33.11, 151.96°)
OKLaboklab(38.92% -0.0788 0.0387)
OKLCHoklch(38.92% 0.088 153.8)
XYZxyz(3.7596, 6.3600, 3.6137)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12522E #521236
analogous
#165212 #12522E #12524E
triadic
#12522E #2E1252 #522E12
tetradic
#12522E #121652 #521236 #524E12
square
#12522E #121652 #521236 #524E12
split-complementary
#12522E #4E1252 #521216
monochromatic
#06190E #072012 #12522E #1D844A #28B666

Accessibility & contrast

On white

9.24
#12522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12522E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12522E#FFFFFF#000000##FFFFFF
##12522E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12522e;
/* rgb */ color: rgb(18, 82, 46);
/* oklch */ color: oklch(38.9% 0.088 153.8);
Tailwind
colors: {
  custom: {
    50: '#5b8367',
    500: '#12522e',
    950: '#000000',
  },
}
SCSS
$custom: #12522e;
$custom-light: #5b8367;
$custom-dark: #000000;
JSON
{
  "hex": "#12522e",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 146.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.08781,
    "h": 153.8
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#12522E
secondary
#8B3565
accent
#419EE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12522E

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

Preview Lab → · Contrast checker → · Palette generator →

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