#0F4815#0F4815

#0F4815 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.099 H 144.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#0F4815
RGBrgb(15, 72, 21)
HSLhsl(126, 66%, 17%)
HSVhsv(126, 79%, 28%)
CMYKcmyk(79.2%, 0%, 70.8%, 71.8%)
CIE-LABlab(26.13, -29.98, 24.75)
CIE-LCHlch(26.13, 38.88, 140.46°)
OKLaboklab(35.32% -0.0811 0.0577)
OKLCHoklch(35.32% 0.099 144.6)
XYZxyz(2.6495, 4.7901, 1.4943)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4815 #480F42
analogous
#26480F #0F4815 #0F4832
triadic
#0F4815 #150F48 #48150F
tetradic
#0F4815 #0F2648 #480F42 #48320F
square
#0F4815 #0F2648 #480F42 #48320F
split-complementary
#0F4815 #320F48 #480F26
monochromatic
#051907 #051907 #0F4815 #1A7B24 #24AD33

Accessibility & contrast

On white

10.73
#0F4815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F4815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4815
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4815#FFFFFF#000000##FFFFFF
##0F48151.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49410F
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4815;
/* rgb */ color: rgb(15, 72, 21);
/* oklch */ color: oklch(35.3% 0.099 144.6);
Tailwind
colors: {
  custom: {
    50: '#587c55',
    500: '#0f4815',
    950: '#000000',
  },
}
SCSS
$custom: #0f4815;
$custom-light: #587c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4815",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 126.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35324,
    "c": 0.09948,
    "h": 144.6
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#0F4815
secondary
#82307A
accent
#3FD7E8
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#040903
muted
#797B78

Preview Lab

Preview with #0F4815

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

Preview Lab → · Contrast checker → · Palette generator →

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