#12540E#12540E

#12540E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.119 H 142.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#12540E
RGBrgb(18, 84, 14)
HSLhsl(117, 71%, 19%)
HSVhsv(117, 83%, 33%)
CMYKcmyk(78.6%, 0%, 83.3%, 67.1%)
CIE-LABlab(30.64, -34.72, 32.63)
CIE-LCHlch(30.64, 47.64, 136.78°)
OKLaboklab(39.07% -0.0945 0.0732)
OKLCHoklch(39.07% 0.119 142.2)
XYZxyz(3.4988, 6.5006, 1.4857)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12540E #500E54
analogous
#35540E #12540E #0E542D
triadic
#12540E #0E1254 #540E12
tetradic
#12540E #0E3554 #500E54 #542D0E
square
#12540E #0E3554 #500E54 #542D0E
split-complementary
#12540E #2D0E54 #540E35
monochromatic
#061A04 #072005 #12540E #1D8817 #28BD1F

Accessibility & contrast

On white

9.13
#12540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#12540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12540E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12540E#FFFFFF#000000##FFFFFF
##12540E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12540e;
/* rgb */ color: rgb(18, 84, 14);
/* oklch */ color: oklch(39.1% 0.119 142.2);
Tailwind
colors: {
  custom: {
    50: '#5d8552',
    500: '#12540e',
    950: '#000000',
  },
}
SCSS
$custom: #12540e;
$custom-light: #5d8552;
$custom-dark: #000000;
JSON
{
  "hex": "#12540e",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 116.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.11948,
    "h": 142.2
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#12540E
secondary
#892F8E
accent
#3AEEE4
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #12540E

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

Preview Lab → · Contrast checker → · Palette generator →

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