#12510E#12510E

#12510E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.116 H 142.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#12510E
RGBrgb(18, 81, 14)
HSLhsl(116, 71%, 19%)
HSVhsv(116, 83%, 32%)
CMYKcmyk(77.8%, 0%, 82.7%, 68.2%)
CIE-LABlab(29.53, -33.59, 31.53)
CIE-LCHlch(29.53, 46.07, 136.82°)
OKLaboklab(38.14% -0.0914 0.0709)
OKLCHoklch(38.14% 0.116 142.2)
XYZxyz(3.2710, 6.0448, 1.4098)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12510E #4D0E51
analogous
#33510E #12510E #0E512B
triadic
#12510E #0E1251 #510E12
tetradic
#12510E #0E3351 #4D0E51 #512B0E
square
#12510E #0E3351 #4D0E51 #512B0E
split-complementary
#12510E #2B0E51 #510E33
monochromatic
#061A05 #061D05 #12510E #1E8517 #29B920

Accessibility & contrast

On white

9.51
#12510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#12510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12510E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12510E#FFFFFF#000000##FFFFFF
##12510E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534902
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#024E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12510e;
/* rgb */ color: rgb(18, 81, 14);
/* oklch */ color: oklch(38.1% 0.116 142.2);
Tailwind
colors: {
  custom: {
    50: '#5c8352',
    500: '#12510e',
    950: '#000000',
  },
}
SCSS
$custom: #12510e;
$custom-light: #5c8352;
$custom-dark: #000000;
JSON
{
  "hex": "#12510e",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 116.418,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.11568,
    "h": 142.2
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#12510E
secondary
#862F8C
accent
#3AEDE3
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #12510E

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

Preview Lab → · Contrast checker → · Palette generator →

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