#0F5112#0F5112

#0F5112 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.114 H 143.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#0F5112
RGBrgb(15, 81, 18)
HSLhsl(123, 69%, 19%)
HSVhsv(123, 81%, 32%)
CMYKcmyk(81.5%, 0%, 77.8%, 68.2%)
CIE-LABlab(29.49, -33.80, 29.80)
CIE-LCHlch(29.49, 45.07, 138.60°)
OKLaboklab(38.1% -0.0916 0.0679)
OKLCHoklch(38.1% 0.114 143.5)
XYZxyz(3.2484, 6.0297, 1.5648)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5112 #510F4E
analogous
#2D510F #0F5112 #0F5133
triadic
#0F5112 #120F51 #51120F
tetradic
#0F5112 #0F2D51 #510F4E #51330F
square
#0F5112 #0F2D51 #510F4E #51330F
split-complementary
#0F5112 #330F51 #510F2D
monochromatic
#051A06 #051D07 #0F5112 #19851D #22B829

Accessibility & contrast

On white

9.52
#0F5112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5112
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5112#FFFFFF#000000##FFFFFF
##0F51121.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5112;
/* rgb */ color: rgb(15, 81, 18);
/* oklch */ color: oklch(38.1% 0.114 143.5);
Tailwind
colors: {
  custom: {
    50: '#5a8354',
    500: '#0f5112',
    950: '#000000',
  },
}
SCSS
$custom: #0f5112;
$custom-light: #5a8354;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5112",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 122.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38102,
    "c": 0.11402,
    "h": 143.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#0F5112
secondary
#8B3187
accent
#3CE4EC
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5112

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

Preview Lab → · Contrast checker → · Palette generator →

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