#0F5025#0F5025

#0F5025 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.095 H 149.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#0F5025
RGBrgb(15, 80, 37)
HSLhsl(140, 68%, 19%)
HSVhsv(140, 81%, 31%)
CMYKcmyk(81.3%, 0%, 53.7%, 68.6%)
CIE-LABlab(29.34, -30.70, 19.69)
CIE-LCHlch(29.34, 36.47, 147.34°)
OKLaboklab(38.06% -0.0826 0.0479)
OKLCHoklch(38.06% 0.095 149.9)
XYZxyz(3.3993, 5.9721, 2.7235)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5025 #500F3A
analogous
#19500F #0F5025 #0F5045
triadic
#0F5025 #250F50 #50250F
tetradic
#0F5025 #0F1950 #500F3A #50450F
square
#0F5025 #0F1950 #500F3A #50450F
split-complementary
#0F5025 #450F50 #500F19
monochromatic
#051A0C #051C0D #0F5025 #19843D #22B755

Accessibility & contrast

On white

9.57
#0F5025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F5025 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5025
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5025#FFFFFF#000000##FFFFFF
##0F50251.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514821
Deuteranopia (green-blind)
#494328
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5025;
/* rgb */ color: rgb(15, 80, 37);
/* oklch */ color: oklch(38.1% 0.095 149.9);
Tailwind
colors: {
  custom: {
    50: '#598260',
    500: '#0f5025',
    950: '#000000',
  },
}
SCSS
$custom: #0f5025;
$custom-light: #598260;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5025",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 37
  },
  "hsl": {
    "h": 140.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38055,
    "c": 0.09544,
    "h": 149.9
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#0F5025
secondary
#8A316C
accent
#3DB0EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5025

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

Preview Lab → · Contrast checker → · Palette generator →

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