#0F5225#0F5225

#0F5225 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.098 H 149.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5225
RGBrgb(15, 82, 37)
HSLhsl(140, 69%, 19%)
HSVhsv(140, 82%, 32%)
CMYKcmyk(81.7%, 0%, 54.9%, 67.8%)
CIE-LABlab(30.08, -31.53, 20.61)
CIE-LCHlch(30.08, 37.67, 146.83°)
OKLaboklab(38.67% -0.0848 0.05)
OKLCHoklch(38.67% 0.098 149.5)
XYZxyz(3.5479, 6.2693, 2.7730)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5225 #520F3C
analogous
#1B520F #0F5225 #0F5247
triadic
#0F5225 #250F52 #52250F
tetradic
#0F5225 #0F1B52 #520F3C #52470F
square
#0F5225 #0F1B52 #520F3C #52470F
split-complementary
#0F5225 #470F52 #520F1B
monochromatic
#051A0C #061E0E #0F5225 #18863C #22B954

Accessibility & contrast

On white

9.32
#0F5225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5225
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5225#FFFFFF#000000##FFFFFF
##0F52251.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5225;
/* rgb */ color: rgb(15, 82, 37);
/* oklch */ color: oklch(38.7% 0.098 149.5);
Tailwind
colors: {
  custom: {
    50: '#5a8360',
    500: '#0f5225',
    950: '#000000',
  },
}
SCSS
$custom: #0f5225;
$custom-light: #5a8360;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5225",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 37
  },
  "hsl": {
    "h": 139.701,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.09838,
    "h": 149.5
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#0F5225
secondary
#8C316E
accent
#3CB2EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5225

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

Preview Lab → · Contrast checker → · Palette generator →

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