#0F3012#0F3012

#0F3012 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.066 H 145.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0F3012
RGBrgb(15, 48, 18)
HSLhsl(125, 52%, 12%)
HSVhsv(125, 69%, 19%)
CMYKcmyk(68.7%, 0%, 62.5%, 81.2%)
CIE-LABlab(16.79, -19.86, 15.56)
CIE-LCHlch(16.79, 25.23, 141.93°)
OKLaboklab(27.6% -0.0538 0.0374)
OKLCHoklch(27.6% 0.066 145.2)
XYZxyz(1.3631, 2.2590, 0.9364)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3012 #300F2D
analogous
#1C300F #0F3012 #0F3023
triadic
#0F3012 #120F30 #30120F
tetradic
#0F3012 #0F1C30 #300F2D #30230F
square
#0F3012 #0F1C30 #300F2D #30230F
split-complementary
#0F3012 #230F30 #300F1C
monochromatic
#071709 #071709 #0F3012 #1E5F23 #2C8D35

Accessibility & contrast

On white

14.46
#0F3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3012
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3012#FFFFFF#000000##FFFFFF
##0F30121.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#2D2814
Tritanopia (blue-blind)
#092F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f3012;
/* rgb */ color: rgb(15, 48, 18);
/* oklch */ color: oklch(27.6% 0.066 145.2);
Tailwind
colors: {
  custom: {
    50: '#516850',
    500: '#0f3012',
    950: '#000000',
  },
}
SCSS
$custom: #0f3012;
$custom-light: #516850;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3012",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 125.455,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27598,
    "c": 0.06559,
    "h": 145.2
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#0F3012
secondary
#6A3165
accent
#4CCFDC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0F3012

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

Preview Lab → · Contrast checker → · Palette generator →

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