#12522A#12522A

#12522A is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.092 H 151.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#12522A
RGBrgb(18, 82, 42)
HSLhsl(143, 64%, 20%)
HSVhsv(143, 78%, 32%)
CMYKcmyk(78%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.23, -30.05, 17.87)
CIE-LCHlch(30.23, 34.96, 149.26°)
OKLaboklab(38.83% -0.0809 0.044)
OKLCHoklch(38.83% 0.092 151.5)
XYZxyz(3.6844, 6.3299, 3.2177)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12522A #52123A
analogous
#1A5212 #12522A #12524A
triadic
#12522A #2A1252 #522A12
tetradic
#12522A #121A52 #52123A #524A12
square
#12522A #121A52 #52123A #524A12
split-complementary
#12522A #4A1252 #52121A
monochromatic
#06190D #072010 #12522A #1D8444 #28B65D

Accessibility & contrast

On white

9.27
#12522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12522A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12522A#FFFFFF#000000##FFFFFF
##12522A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A27
Deuteranopia (green-blind)
#4B452D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12522a;
/* rgb */ color: rgb(18, 82, 42);
/* oklch */ color: oklch(38.8% 0.092 151.5);
Tailwind
colors: {
  custom: {
    50: '#5b8364',
    500: '#12522a',
    950: '#000000',
  },
}
SCSS
$custom: #12522a;
$custom-light: #5b8364;
$custom-dark: #000000;
JSON
{
  "hex": "#12522a",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 142.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.09209,
    "h": 151.5
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#12522A
secondary
#8B356B
accent
#41A9E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12522A

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

Preview Lab → · Contrast checker → · Palette generator →

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