#0F5825#0F5825

#0F5825 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.107 H 148.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#0F5825
RGBrgb(15, 88, 37)
HSLhsl(138, 71%, 20%)
HSVhsv(138, 83%, 35%)
CMYKcmyk(83%, 0%, 58%, 65.5%)
CIE-LABlab(32.29, -33.93, 23.32)
CIE-LCHlch(32.29, 41.17, 145.50°)
OKLaboklab(40.49% -0.0912 0.056)
OKLCHoklch(40.49% 0.107 148.4)
XYZxyz(4.0203, 7.2141, 2.9305)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5825 #580F42
analogous
#1E580F #0F5825 #0F5849
triadic
#0F5825 #250F58 #58250F
tetradic
#0F5825 #0F1E58 #580F42 #58490F
square
#0F5825 #0F1E58 #580F42 #58490F
split-complementary
#0F5825 #490F58 #580F1E
monochromatic
#041A0B #06240F #0F5825 #188C3B #21C151

Accessibility & contrast

On white

8.60
#0F5825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F5825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5825
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5825#FFFFFF#000000##FFFFFF
##0F58251.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F20
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5825;
/* rgb */ color: rgb(15, 88, 37);
/* oklch */ color: oklch(40.5% 0.107 148.4);
Tailwind
colors: {
  custom: {
    50: '#5b8861',
    500: '#0f5825',
    950: '#000000',
  },
}
SCSS
$custom: #0f5825;
$custom-light: #5b8861;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5825",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 37
  },
  "hsl": {
    "h": 138.082,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.10703,
    "h": 148.4
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#0F5825
secondary
#923175
accent
#3AB8EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5825

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

Preview Lab → · Contrast checker → · Palette generator →

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