#12541E#12541E

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

Color values

HEX#12541E
RGBrgb(18, 84, 30)
HSLhsl(131, 65%, 20%)
HSVhsv(131, 79%, 33%)
CMYKcmyk(78.6%, 0%, 64.3%, 67.1%)
CIE-LABlab(30.79, -32.93, 25.37)
CIE-LCHlch(30.79, 41.57, 142.39°)
OKLaboklab(39.24% -0.0888 0.0599)
OKLCHoklch(39.24% 0.107 146)
XYZxyz(3.6539, 6.5626, 2.3022)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541E #541248
analogous
#275412 #12541E #12543F
triadic
#12541E #1E1254 #541E12
tetradic
#12541E #122754 #541248 #543F12
square
#12541E #122754 #541248 #543F12
split-complementary
#12541E #3F1254 #541227
monochromatic
#051909 #07220C #12541E #1D8630 #28B942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12541E#FFFFFF#000000##FFFFFF
##12541E1.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)
#554C18
Deuteranopia (green-blind)
#4E4622
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12541e;
/* rgb */ color: rgb(18, 84, 30);
/* oklch */ color: oklch(39.2% 0.107 146.0);
Tailwind
colors: {
  custom: {
    50: '#5c855c',
    500: '#12541e',
    950: '#000000',
  },
}
SCSS
$custom: #12541e;
$custom-light: #5c855c;
$custom-dark: #000000;
JSON
{
  "hex": "#12541e",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 130.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.10713,
    "h": 146
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#12541E
secondary
#8D357D
accent
#40C9E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12541E

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

Preview Lab → · Contrast checker → · Palette generator →

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