#12522F#12522F

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

Color values

HEX#12522F
RGBrgb(18, 82, 47)
HSLhsl(147, 64%, 20%)
HSVhsv(147, 78%, 32%)
CMYKcmyk(78%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.32, -29.00, 14.98)
CIE-LCHlch(30.32, 32.64, 152.69°)
OKLaboklab(38.94% -0.0783 0.0374)
OKLCHoklch(38.94% 0.087 154.5)
XYZxyz(3.7795, 6.3680, 3.7187)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12522F #521235
analogous
#155212 #12522F #12524F
triadic
#12522F #2F1252 #522F12
tetradic
#12522F #121552 #521235 #524F12
square
#12522F #121552 #521235 #524F12
split-complementary
#12522F #4F1252 #521215
monochromatic
#06190E #072012 #12522F #1D844C #28B669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12522F#FFFFFF#000000##FFFFFF
##12522F1.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)
#524B2D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12522f;
/* rgb */ color: rgb(18, 82, 47);
/* oklch */ color: oklch(38.9% 0.087 154.5);
Tailwind
colors: {
  custom: {
    50: '#5a8368',
    500: '#12522f',
    950: '#000000',
  },
}
SCSS
$custom: #12522f;
$custom-light: #5a8368;
$custom-dark: #000000;
JSON
{
  "hex": "#12522f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 147.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.08674,
    "h": 154.5
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#12522F
secondary
#8B3564
accent
#419CE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12522F

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

Preview Lab → · Contrast checker → · Palette generator →

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