#0F5712#0F5712

#0F5712 is a dark, vivid green. Relative luminance 0.070; OKLCH L 40.0% C 0.122 H 143.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#0F5712
RGBrgb(15, 87, 18)
HSLhsl(123, 71%, 20%)
HSVhsv(123, 83%, 34%)
CMYKcmyk(82.8%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.72, -36.01, 32.09)
CIE-LCHlch(31.72, 48.24, 138.30°)
OKLaboklab(39.96% -0.0976 0.0727)
OKLCHoklch(39.96% 0.122 143.3)
XYZxyz(3.7141, 6.9612, 1.7200)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5712 #570F54
analogous
#30570F #0F5712 #0F5736
triadic
#0F5712 #120F57 #57120F
tetradic
#0F5712 #0F3057 #570F54 #57360F
square
#0F5712 #0F3057 #570F54 #57360F
split-complementary
#0F5712 #360F57 #570F30
monochromatic
#051A05 #062307 #0F5712 #188B1D #21BF28

Accessibility & contrast

On white

8.78
#0F5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0F5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5712
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5712#FFFFFF#000000##FFFFFF
##0F57121.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5712;
/* rgb */ color: rgb(15, 87, 18);
/* oklch */ color: oklch(40.0% 0.122 143.3);
Tailwind
colors: {
  custom: {
    50: '#5c8755',
    500: '#0f5712',
    950: '#000000',
  },
}
SCSS
$custom: #0f5712;
$custom-light: #5c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5712",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 122.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.39956,
    "c": 0.12169,
    "h": 143.3
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#0F5712
secondary
#91318D
accent
#3AE6ED
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5712

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

Preview Lab → · Contrast checker → · Palette generator →

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