#0F5129#0F5129

#0F5129 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.093 H 151.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#0F5129
RGBrgb(15, 81, 41)
HSLhsl(144, 69%, 19%)
HSVhsv(144, 81%, 32%)
CMYKcmyk(81.5%, 0%, 49.4%, 68.2%)
CIE-LABlab(29.78, -30.35, 17.88)
CIE-LCHlch(29.78, 35.22, 149.50°)
OKLaboklab(38.44% -0.0816 0.0439)
OKLCHoklch(38.44% 0.093 151.7)
XYZxyz(3.5394, 6.1461, 3.0972)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5129 #510F37
analogous
#16510F #0F5129 #0F514A
triadic
#0F5129 #290F51 #51290F
tetradic
#0F5129 #0F1651 #510F37 #514A0F
square
#0F5129 #0F1651 #510F37 #514A0F
split-complementary
#0F5129 #4A0F51 #510F16
monochromatic
#051A0D #051D0F #0F5129 #198543 #22B85D

Accessibility & contrast

On white

9.42
#0F5129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0F5129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5129
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5129#FFFFFF#000000##FFFFFF
##0F51291.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514926
Deuteranopia (green-blind)
#49442C
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5129;
/* rgb */ color: rgb(15, 81, 41);
/* oklch */ color: oklch(38.4% 0.093 151.7);
Tailwind
colors: {
  custom: {
    50: '#598263',
    500: '#0f5129',
    950: '#000000',
  },
}
SCSS
$custom: #0f5129;
$custom-light: #598263;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5129",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 143.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.09271,
    "h": 151.7
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#0F5129
secondary
#8B3167
accent
#3CA7EC
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5129

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

Preview Lab → · Contrast checker → · Palette generator →

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