#12450F#12450F

#12450F is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.099 H 142.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#12450F
RGBrgb(18, 69, 15)
HSLhsl(117, 64%, 16%)
HSVhsv(117, 78%, 27%)
CMYKcmyk(73.9%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.01, -28.80, 26.51)
CIE-LCHlch(25.01, 39.14, 137.37°)
OKLaboklab(34.4% -0.0784 0.0606)
OKLCHoklch(34.4% 0.099 142.3)
XYZxyz(2.4637, 4.4191, 1.1750)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12450F #420F45
analogous
#2D450F #12450F #0F4527
triadic
#12450F #0F1245 #450F12
tetradic
#12450F #0F2D45 #420F45 #45270F
square
#12450F #0F2D45 #420F45 #45270F
split-complementary
#12450F #270F45 #450F2D
monochromatic
#071905 #071905 #12450F #1F771A #2CAA25

Accessibility & contrast

On white

11.15
#12450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#12450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12450F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12450F#FFFFFF#000000##FFFFFF
##12450F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#07433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12450f;
/* rgb */ color: rgb(18, 69, 15);
/* oklch */ color: oklch(34.4% 0.099 142.3);
Tailwind
colors: {
  custom: {
    50: '#587951',
    500: '#12450f',
    950: '#000000',
  },
}
SCSS
$custom: #12450f;
$custom-light: #587951;
$custom-dark: #000000;
JSON
{
  "hex": "#12450f",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 116.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.09905,
    "h": 142.3
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#12450F
secondary
#7B307F
accent
#41E7DE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12450F

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

Preview Lab → · Contrast checker → · Palette generator →

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