#12541F#12541F

#12541F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.106 H 146.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#12541F
RGBrgb(18, 84, 31)
HSLhsl(132, 65%, 20%)
HSVhsv(132, 79%, 33%)
CMYKcmyk(78.6%, 0%, 63.1%, 67.1%)
CIE-LABlab(30.80, -32.78, 24.85)
CIE-LCHlch(30.80, 41.14, 142.84°)
OKLaboklab(39.26% -0.0884 0.0589)
OKLCHoklch(39.26% 0.106 146.3)
XYZxyz(3.6668, 6.5678, 2.3705)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541F #541247
analogous
#265412 #12541F #125440
triadic
#12541F #1F1254 #541F12
tetradic
#12541F #122654 #541247 #544012
square
#12541F #122654 #541247 #544012
split-complementary
#12541F #401254 #541226
monochromatic
#051909 #07220C #12541F #1D8632 #28B944

Accessibility & contrast

On white

9.08
#12541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#12541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12541F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12541F#FFFFFF#000000##FFFFFF
##12541F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#4E4623
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12541f;
/* rgb */ color: rgb(18, 84, 31);
/* oklch */ color: oklch(39.3% 0.106 146.3);
Tailwind
colors: {
  custom: {
    50: '#5c855c',
    500: '#12541f',
    950: '#000000',
  },
}
SCSS
$custom: #12541f;
$custom-light: #5c855c;
$custom-dark: #000000;
JSON
{
  "hex": "#12541f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 131.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.1062,
    "h": 146.3
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#12541F
secondary
#8D357C
accent
#40C7E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12541F

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

Preview Lab → · Contrast checker → · Palette generator →

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