#0F4915#0F4915

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

Color values

HEX#0F4915
RGBrgb(15, 73, 21)
HSLhsl(126, 66%, 17%)
HSVhsv(126, 79%, 29%)
CMYKcmyk(79.5%, 0%, 71.2%, 71.4%)
CIE-LABlab(26.51, -30.38, 25.17)
CIE-LCHlch(26.51, 39.46, 140.36°)
OKLaboklab(35.64% -0.0821 0.0586)
OKLCHoklch(35.64% 0.101 144.5)
XYZxyz(2.7147, 4.9205, 1.5160)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4915 #490F43
analogous
#26490F #0F4915 #0F4932
triadic
#0F4915 #150F49 #49150F
tetradic
#0F4915 #0F2649 #490F43 #49320F
square
#0F4915 #0F2649 #490F43 #49320F
split-complementary
#0F4915 #320F49 #490F26
monochromatic
#051907 #051907 #0F4915 #197C24 #24AF32

Accessibility & contrast

On white

10.58
#0F4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0F4915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4915
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4915#FFFFFF#000000##FFFFFF
##0F49151.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A420F
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4915;
/* rgb */ color: rgb(15, 73, 21);
/* oklch */ color: oklch(35.6% 0.101 144.5);
Tailwind
colors: {
  custom: {
    50: '#587c55',
    500: '#0f4915',
    950: '#000000',
  },
}
SCSS
$custom: #0f4915;
$custom-light: #587c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4915",
  "rgb": {
    "r": 15,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 126.207,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.10088,
    "h": 144.5
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#0F4915
secondary
#83307B
accent
#3FD7E9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0F4915

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

Preview Lab → · Contrast checker → · Palette generator →

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