#0F4825#0F4825

#0F4825 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.083 H 151.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0F4825
RGBrgb(15, 72, 37)
HSLhsl(143, 66%, 17%)
HSVhsv(143, 79%, 28%)
CMYKcmyk(79.2%, 0%, 48.6%, 71.8%)
CIE-LABlab(26.36, -27.28, 15.89)
CIE-LCHlch(26.36, 31.57, 149.78°)
OKLaboklab(35.59% -0.0735 0.0392)
OKLCHoklch(35.59% 0.083 151.9)
XYZxyz(2.8481, 4.8695, 2.5397)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4825 #480F32
analogous
#16480F #0F4825 #0F4842
triadic
#0F4825 #250F48 #48250F
tetradic
#0F4825 #0F1648 #480F32 #48420F
square
#0F4825 #0F1648 #480F32 #48420F
split-complementary
#0F4825 #420F48 #480F16
monochromatic
#05190D #05190D #0F4825 #1A7B3F #24AD59

Accessibility & contrast

On white

10.64
#0F4825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0F4825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4825
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4825#FFFFFF#000000##FFFFFF
##0F48251.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484122
Deuteranopia (green-blind)
#413C27
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4825;
/* rgb */ color: rgb(15, 72, 37);
/* oklch */ color: oklch(35.6% 0.083 151.9);
Tailwind
colors: {
  custom: {
    50: '#577c60',
    500: '#0f4825',
    950: '#000000',
  },
}
SCSS
$custom: #0f4825;
$custom-light: #577c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4825",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 37
  },
  "hsl": {
    "h": 143.158,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35591,
    "c": 0.08329,
    "h": 151.9
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#0F4825
secondary
#823063
accent
#3FA7E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F4825

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

Preview Lab → · Contrast checker → · Palette generator →

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