#0F5A25#0F5A25

#0F5A25 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.110 H 148.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#0F5A25
RGBrgb(15, 90, 37)
HSLhsl(138, 71%, 21%)
HSVhsv(138, 83%, 35%)
CMYKcmyk(83.3%, 0%, 58.9%, 64.7%)
CIE-LABlab(33.02, -34.71, 24.21)
CIE-LCHlch(33.02, 42.32, 145.11°)
OKLaboklab(41.1% -0.0933 0.058)
OKLCHoklch(41.1% 0.11 148.1)
XYZxyz(4.1868, 7.5470, 2.9860)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A25 #5A0F44
analogous
#1E5A0F #0F5A25 #0F5A4A
triadic
#0F5A25 #250F5A #5A250F
tetradic
#0F5A25 #0F1E5A #5A0F44 #5A4A0F
square
#0F5A25 #0F1E5A #5A0F44 #5A4A0F
split-complementary
#0F5A25 #4A0F5A #5A0F1E
monochromatic
#041A0B #06260F #0F5A25 #188E3B #20C350

Accessibility & contrast

On white

8.37
#0F5A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0F5A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A25
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A25#FFFFFF#000000##FFFFFF
##0F5A251.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5120
Deuteranopia (green-blind)
#534B29
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a25;
/* rgb */ color: rgb(15, 90, 37);
/* oklch */ color: oklch(41.1% 0.110 148.1);
Tailwind
colors: {
  custom: {
    50: '#5c8961',
    500: '#0f5a25',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a25;
$custom-light: #5c8961;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a25",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 37
  },
  "hsl": {
    "h": 137.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.10985,
    "h": 148.1
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#0F5A25
secondary
#943177
accent
#3AB9EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5A25

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

Preview Lab → · Contrast checker → · Palette generator →

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