#0F5219#0F5219

#0F5219 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.110 H 145.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#0F5219
RGBrgb(15, 82, 25)
HSLhsl(129, 69%, 19%)
HSVhsv(129, 82%, 32%)
CMYKcmyk(81.7%, 0%, 69.5%, 67.8%)
CIE-LABlab(29.93, -33.38, 26.96)
CIE-LCHlch(29.93, 42.91, 141.08°)
OKLaboklab(38.49% -0.0901 0.0628)
OKLCHoklch(38.49% 0.11 145.1)
XYZxyz(3.3895, 6.2059, 1.9387)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5219 #520F48
analogous
#27520F #0F5219 #0F523B
triadic
#0F5219 #190F52 #52190F
tetradic
#0F5219 #0F2752 #520F48 #523B0F
square
#0F5219 #0F2752 #520F48 #523B0F
split-complementary
#0F5219 #3B0F52 #520F27
monochromatic
#051A08 #061E09 #0F5219 #188629 #22B939

Accessibility & contrast

On white

9.37
#0F5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5219
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5219#FFFFFF#000000##FFFFFF
##0F52191.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A12
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5219;
/* rgb */ color: rgb(15, 82, 25);
/* oklch */ color: oklch(38.5% 0.110 145.1);
Tailwind
colors: {
  custom: {
    50: '#5a8358',
    500: '#0f5219',
    950: '#000000',
  },
}
SCSS
$custom: #0f5219;
$custom-light: #5a8358;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5219",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 128.955,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38488,
    "c": 0.10984,
    "h": 145.1
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#0F5219
secondary
#8C317E
accent
#3CD2EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5219

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

Preview Lab → · Contrast checker → · Palette generator →

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