#0F5215#0F5215

#0F5215 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.113 H 144.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#0F5215
RGBrgb(15, 82, 21)
HSLhsl(125, 69%, 19%)
HSVhsv(125, 82%, 32%)
CMYKcmyk(81.7%, 0%, 74.4%, 67.8%)
CIE-LABlab(29.89, -33.86, 28.86)
CIE-LCHlch(29.89, 44.49, 139.56°)
OKLaboklab(38.44% -0.0916 0.0663)
OKLCHoklch(38.44% 0.113 144.1)
XYZxyz(3.3494, 6.1899, 1.7276)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5215 #520F4C
analogous
#2B520F #0F5215 #0F5237
triadic
#0F5215 #150F52 #52150F
tetradic
#0F5215 #0F2B52 #520F4C #52370F
square
#0F5215 #0F2B52 #520F4C #52370F
split-complementary
#0F5215 #370F52 #520F2B
monochromatic
#051A07 #061E08 #0F5215 #188622 #22B92F

Accessibility & contrast

On white

9.38
#0F5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5215
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5215#FFFFFF#000000##FFFFFF
##0F52151.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5215;
/* rgb */ color: rgb(15, 82, 21);
/* oklch */ color: oklch(38.4% 0.113 144.1);
Tailwind
colors: {
  custom: {
    50: '#5b8356',
    500: '#0f5215',
    950: '#000000',
  },
}
SCSS
$custom: #0f5215;
$custom-light: #5b8356;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5215",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 125.373,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.1131,
    "h": 144.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#0F5215
secondary
#8C3184
accent
#3CDCEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5215

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

Preview Lab → · Contrast checker → · Palette generator →

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