#0F5121#0F5121

#0F5121 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.101 H 147.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#0F5121
RGBrgb(15, 81, 33)
HSLhsl(136, 69%, 19%)
HSVhsv(136, 81%, 32%)
CMYKcmyk(81.5%, 0%, 59.3%, 68.2%)
CIE-LABlab(29.65, -31.81, 22.36)
CIE-LCHlch(29.65, 38.89, 144.90°)
OKLaboklab(38.29% -0.0856 0.0536)
OKLCHoklch(38.29% 0.101 147.9)
XYZxyz(3.4137, 6.0958, 2.4353)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5121 #510F3F
analogous
#1E510F #0F5121 #0F5142
triadic
#0F5121 #210F51 #51210F
tetradic
#0F5121 #0F1E51 #510F3F #51420F
square
#0F5121 #0F1E51 #510F3F #51420F
split-complementary
#0F5121 #420F51 #510F1E
monochromatic
#051A0B #051D0C #0F5121 #198536 #22B84B

Accessibility & contrast

On white

9.46
#0F5121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0F5121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5121
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5121#FFFFFF#000000##FFFFFF
##0F51211.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491D
Deuteranopia (green-blind)
#4A4425
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5121;
/* rgb */ color: rgb(15, 81, 33);
/* oklch */ color: oklch(38.3% 0.101 147.9);
Tailwind
colors: {
  custom: {
    50: '#5a835d',
    500: '#0f5121',
    950: '#000000',
  },
}
SCSS
$custom: #0f5121;
$custom-light: #5a835d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5121",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 136.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.10098,
    "h": 147.9
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#0F5121
secondary
#8B3172
accent
#3CBCEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F5121

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

Preview Lab → · Contrast checker → · Palette generator →

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