#0F5124#0F5124

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

Color values

HEX#0F5124
RGBrgb(15, 81, 36)
HSLhsl(139, 69%, 19%)
HSVhsv(139, 81%, 32%)
CMYKcmyk(81.5%, 0%, 55.6%, 68.2%)
CIE-LABlab(29.70, -31.30, 20.71)
CIE-LCHlch(29.70, 37.53, 146.51°)
OKLaboklab(38.34% -0.0841 0.0501)
OKLCHoklch(38.34% 0.098 149.2)
XYZxyz(3.4576, 6.1134, 2.6665)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5124 #510F3C
analogous
#1B510F #0F5124 #0F5145
triadic
#0F5124 #240F51 #51240F
tetradic
#0F5124 #0F1B51 #510F3C #51450F
square
#0F5124 #0F1B51 #510F3C #51450F
split-complementary
#0F5124 #450F51 #510F1B
monochromatic
#051A0B #051D0D #0F5124 #19853B #22B852

Accessibility & contrast

On white

9.45
#0F5124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5124
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5124#FFFFFF#000000##FFFFFF
##0F51241.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#4A4427
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5124;
/* rgb */ color: rgb(15, 81, 36);
/* oklch */ color: oklch(38.3% 0.098 149.2);
Tailwind
colors: {
  custom: {
    50: '#598360',
    500: '#0f5124',
    950: '#000000',
  },
}
SCSS
$custom: #0f5124;
$custom-light: #598360;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5124",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 139.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38343,
    "c": 0.09795,
    "h": 149.2
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#0F5124
secondary
#8B316E
accent
#3CB4EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5124

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

Preview Lab → · Contrast checker → · Palette generator →

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