#12500E#12500E

#12500E is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.114 H 142.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#12500E
RGBrgb(18, 80, 14)
HSLhsl(116, 70%, 18%)
HSVhsv(116, 83%, 31%)
CMYKcmyk(77.5%, 0%, 82.5%, 68.6%)
CIE-LABlab(29.15, -33.22, 31.16)
CIE-LCHlch(29.15, 45.54, 136.83°)
OKLaboklab(37.83% -0.0904 0.0701)
OKLCHoklch(37.83% 0.114 142.2)
XYZxyz(3.1972, 5.8973, 1.3852)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12500E #4C0E50
analogous
#33500E #12500E #0E502B
triadic
#12500E #0E1250 #500E12
tetradic
#12500E #0E3350 #4C0E50 #502B0E
square
#12500E #0E3350 #4C0E50 #502B0E
split-complementary
#12500E #2B0E50 #500E33
monochromatic
#061A05 #061C05 #12500E #1E8417 #29B820

Accessibility & contrast

On white

9.63
#12500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#12500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12500E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12500E#FFFFFF#000000##FFFFFF
##12500E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#024D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12500e;
/* rgb */ color: rgb(18, 80, 14);
/* oklch */ color: oklch(37.8% 0.114 142.2);
Tailwind
colors: {
  custom: {
    50: '#5b8252',
    500: '#12500e',
    950: '#000000',
  },
}
SCSS
$custom: #12500e;
$custom-light: #5b8252;
$custom-dark: #000000;
JSON
{
  "hex": "#12500e",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 116.364,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.11441,
    "h": 142.2
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#12500E
secondary
#852F8B
accent
#3BEDE2
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #12500E

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

Preview Lab → · Contrast checker → · Palette generator →

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