#0F4A25#0F4A25

#0F4A25 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.086 H 151.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0F4A25
RGBrgb(15, 74, 37)
HSLhsl(142, 66%, 17%)
HSVhsv(142, 80%, 29%)
CMYKcmyk(79.7%, 0%, 50%, 71%)
CIE-LABlab(27.11, -28.16, 16.85)
CIE-LCHlch(27.11, 32.82, 149.10°)
OKLaboklab(36.21% -0.0758 0.0414)
OKLCHoklch(36.21% 0.086 151.3)
XYZxyz(2.9795, 5.1323, 2.5835)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A25 #4A0F34
analogous
#164A0F #0F4A25 #0F4A43
triadic
#0F4A25 #250F4A #4A250F
tetradic
#0F4A25 #0F164A #4A0F34 #4A430F
square
#0F4A25 #0F164A #4A0F34 #4A430F
split-complementary
#0F4A25 #430F4A #4A0F16
monochromatic
#05190D #05190D #0F4A25 #197D3E #24B058

Accessibility & contrast

On white

10.36
#0F4A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A25
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A25#FFFFFF#000000##FFFFFF
##0F4A251.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4322
Deuteranopia (green-blind)
#433E28
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a25;
/* rgb */ color: rgb(15, 74, 37);
/* oklch */ color: oklch(36.2% 0.086 151.3);
Tailwind
colors: {
  custom: {
    50: '#577d60',
    500: '#0f4a25',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a25;
$custom-light: #577d60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a25",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 37
  },
  "hsl": {
    "h": 142.373,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36209,
    "c": 0.08638,
    "h": 151.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#0F4A25
secondary
#843065
accent
#3FAAE9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4A25

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

Preview Lab → · Contrast checker → · Palette generator →

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