#0F510F#0F510F

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

Color values

HEX#0F510F
RGBrgb(15, 81, 15)
HSLhsl(120, 69%, 19%)
HSVhsv(120, 81%, 32%)
CMYKcmyk(81.5%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.46, -34.09, 31.05)
CIE-LCHlch(29.46, 46.11, 137.67°)
OKLaboklab(38.08% -0.0925 0.0701)
OKLCHoklch(38.08% 0.116 142.9)
XYZxyz(3.2255, 6.0205, 1.4439)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F510F #510F51
analogous
#30510F #0F510F #0F5130
triadic
#0F510F #0F0F51 #510F0F
tetradic
#0F510F #0F3051 #510F51 #51300F
square
#0F510F #0F3051 #510F51 #51300F
split-complementary
#0F510F #300F51 #510F30
monochromatic
#051A05 #051D05 #0F510F #198519 #22B822

Accessibility & contrast

On white

9.53
#0F510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F510F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F510F#FFFFFF#000000##FFFFFF
##0F510F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#4C4316
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f510f;
/* rgb */ color: rgb(15, 81, 15);
/* oklch */ color: oklch(38.1% 0.116 142.9);
Tailwind
colors: {
  custom: {
    50: '#5b8352',
    500: '#0f510f',
    950: '#000000',
  },
}
SCSS
$custom: #0f510f;
$custom-light: #5b8352;
$custom-dark: #000000;
JSON
{
  "hex": "#0f510f",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38076,
    "c": 0.11606,
    "h": 142.9
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#0F510F
secondary
#8B318B
accent
#3CECEC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F510F

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

Preview Lab → · Contrast checker → · Palette generator →

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