#12500F#12500F

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

Color values

HEX#12500F
RGBrgb(18, 80, 15)
HSLhsl(117, 68%, 19%)
HSVhsv(117, 81%, 31%)
CMYKcmyk(77.5%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.16, -33.13, 30.76)
CIE-LCHlch(29.16, 45.21, 137.12°)
OKLaboklab(37.84% -0.0901 0.0695)
OKLCHoklch(37.84% 0.114 142.4)
XYZxyz(3.2042, 5.9001, 1.4218)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12500F #4D0F50
analogous
#32500F #12500F #0F502C
triadic
#12500F #0F1250 #500F12
tetradic
#12500F #0F3250 #4D0F50 #502C0F
square
#12500F #0F3250 #4D0F50 #502C0F
split-complementary
#12500F #2C0F50 #500F32
monochromatic
#061A05 #061C05 #12500F #1E8419 #29B722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12500F#FFFFFF#000000##FFFFFF
##12500F1.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)
#524804
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#024D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12500f;
/* rgb */ color: rgb(18, 80, 15);
/* oklch */ color: oklch(37.8% 0.114 142.4);
Tailwind
colors: {
  custom: {
    50: '#5b8252',
    500: '#12500f',
    950: '#000000',
  },
}
SCSS
$custom: #12500f;
$custom-light: #5b8252;
$custom-dark: #000000;
JSON
{
  "hex": "#12500f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 117.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.11377,
    "h": 142.4
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#12500F
secondary
#86318A
accent
#3DEBE3
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #12500F

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

Preview Lab → · Contrast checker → · Palette generator →

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