#0F450C#0F450C

#0F450C is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.102 H 142.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#0F450C
RGBrgb(15, 69, 12)
HSLhsl(117, 70%, 16%)
HSVhsv(117, 83%, 27%)
CMYKcmyk(78.3%, 0%, 82.6%, 72.9%)
CIE-LABlab(24.90, -29.79, 27.71)
CIE-LCHlch(24.90, 40.69, 137.07°)
OKLaboklab(34.28% -0.0811 0.0626)
OKLCHoklch(34.28% 0.102 142.3)
XYZxyz(2.3913, 4.3841, 1.0679)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F450C #420C45
analogous
#2B450C #0F450C #0C4525
triadic
#0F450C #0C0F45 #450C0F
tetradic
#0F450C #0C2B45 #420C45 #45250C
square
#0F450C #0C2B45 #420C45 #45250C
split-complementary
#0F450C #250C45 #450C2B
monochromatic
#061A05 #061A05 #0F450C #1A7915 #26AD1E

Accessibility & contrast

On white

11.19
#0F450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0F450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F450C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F450C#FFFFFF#000000##FFFFFF
##0F450C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#413912
Tritanopia (blue-blind)
#03433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f450c;
/* rgb */ color: rgb(15, 69, 12);
/* oklch */ color: oklch(34.3% 0.102 142.3);
Tailwind
colors: {
  custom: {
    50: '#57794f',
    500: '#0f450c',
    950: '#000000',
  },
}
SCSS
$custom: #0f450c;
$custom-light: #57794f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f450c",
  "rgb": {
    "r": 15,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 116.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.10244,
    "h": 142.3
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#0F450C
secondary
#7C2C81
accent
#3BEDE4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0F450C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F450C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva