#0F5612#0F5612

#0F5612 is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.6% C 0.120 H 143.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#0F5612
RGBrgb(15, 86, 18)
HSLhsl(123, 70%, 20%)
HSVhsv(123, 83%, 34%)
CMYKcmyk(82.6%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.35, -35.65, 31.71)
CIE-LCHlch(31.35, 47.71, 138.34°)
OKLaboklab(39.65% -0.0966 0.0719)
OKLCHoklch(39.65% 0.12 143.3)
XYZxyz(3.6337, 6.8004, 1.6932)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5612 #560F53
analogous
#30560F #0F5612 #0F5635
triadic
#0F5612 #120F56 #56120F
tetradic
#0F5612 #0F3056 #560F53 #56350F
square
#0F5612 #0F3056 #560F53 #56350F
split-complementary
#0F5612 #350F56 #560F30
monochromatic
#051A05 #062207 #0F5612 #188A1D #21BE28

Accessibility & contrast

On white

8.90
#0F5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0F5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5612
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5612#FFFFFF#000000##FFFFFF
##0F56121.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5612;
/* rgb */ color: rgb(15, 86, 18);
/* oklch */ color: oklch(39.6% 0.120 143.3);
Tailwind
colors: {
  custom: {
    50: '#5c8655',
    500: '#0f5612',
    950: '#000000',
  },
}
SCSS
$custom: #0f5612;
$custom-light: #5c8655;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5612",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 122.535,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.12043,
    "h": 143.3
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#0F5612
secondary
#90318C
accent
#3BE6ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5612

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

Preview Lab → · Contrast checker → · Palette generator →

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