#0F5512#0F5512

#0F5512 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.119 H 143.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0F5512
RGBrgb(15, 85, 18)
HSLhsl(123, 70%, 20%)
HSVhsv(123, 82%, 33%)
CMYKcmyk(82.4%, 0%, 78.8%, 66.7%)
CIE-LABlab(30.98, -35.28, 31.34)
CIE-LCHlch(30.98, 47.19, 138.39°)
OKLaboklab(39.34% -0.0956 0.0711)
OKLCHoklch(39.34% 0.119 143.4)
XYZxyz(3.5545, 6.6418, 1.6668)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5512 #550F52
analogous
#2F550F #0F5512 #0F5535
triadic
#0F5512 #120F55 #55120F
tetradic
#0F5512 #0F2F55 #550F52 #55350F
square
#0F5512 #0F2F55 #550F52 #55350F
split-complementary
#0F5512 #350F55 #550F2F
monochromatic
#051A06 #062107 #0F5512 #18891D #21BD28

Accessibility & contrast

On white

9.02
#0F5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0F5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5512
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5512#FFFFFF#000000##FFFFFF
##0F55121.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5512;
/* rgb */ color: rgb(15, 85, 18);
/* oklch */ color: oklch(39.3% 0.119 143.4);
Tailwind
colors: {
  custom: {
    50: '#5c8655',
    500: '#0f5512',
    950: '#000000',
  },
}
SCSS
$custom: #0f5512;
$custom-light: #5c8655;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5512",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 122.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.11916,
    "h": 143.4
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#0F5512
secondary
#8F318B
accent
#3BE5ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5512

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

Preview Lab → · Contrast checker → · Palette generator →

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