#12510F#12510F

#12510F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.115 H 142.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#12510F
RGBrgb(18, 81, 15)
HSLhsl(117, 69%, 19%)
HSVhsv(117, 81%, 32%)
CMYKcmyk(77.8%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.53, -33.51, 31.14)
CIE-LCHlch(29.53, 45.74, 137.10°)
OKLaboklab(38.15% -0.0911 0.0702)
OKLCHoklch(38.15% 0.115 142.4)
XYZxyz(3.2779, 6.0476, 1.4464)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12510F #4E0F51
analogous
#33510F #12510F #0F512D
triadic
#12510F #0F1251 #510F12
tetradic
#12510F #0F3351 #4E0F51 #512D0F
square
#12510F #0F3351 #4E0F51 #512D0F
split-complementary
#12510F #2D0F51 #510F33
monochromatic
#061A05 #071D05 #12510F #1D8519 #29B822

Accessibility & contrast

On white

9.50
#12510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12510F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12510F#FFFFFF#000000##FFFFFF
##12510F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#014E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12510f;
/* rgb */ color: rgb(18, 81, 15);
/* oklch */ color: oklch(38.2% 0.115 142.4);
Tailwind
colors: {
  custom: {
    50: '#5c8352',
    500: '#12510f',
    950: '#000000',
  },
}
SCSS
$custom: #12510f;
$custom-light: #5c8352;
$custom-dark: #000000;
JSON
{
  "hex": "#12510f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 117.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.11506,
    "h": 142.4
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#12510F
secondary
#87318B
accent
#3CECE4
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #12510F

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

Preview Lab → · Contrast checker → · Palette generator →

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