#0F5715#0F5715

#0F5715 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.120 H 143.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#0F5715
RGBrgb(15, 87, 21)
HSLhsl(125, 71%, 20%)
HSVhsv(125, 83%, 34%)
CMYKcmyk(82.8%, 0%, 75.9%, 65.9%)
CIE-LABlab(31.74, -35.72, 30.83)
CIE-LCHlch(31.74, 47.18, 139.20°)
OKLaboklab(39.98% -0.0966 0.0705)
OKLCHoklch(39.98% 0.12 143.9)
XYZxyz(3.7403, 6.9717, 1.8579)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5715 #570F51
analogous
#2D570F #0F5715 #0F5739
triadic
#0F5715 #150F57 #57150F
tetradic
#0F5715 #0F2D57 #570F51 #57390F
square
#0F5715 #0F2D57 #570F51 #57390F
split-complementary
#0F5715 #390F57 #570F2D
monochromatic
#051A06 #062308 #0F5715 #188B22 #21BF2E

Accessibility & contrast

On white

8.77
#0F5715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0F5715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5715
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5715#FFFFFF#000000##FFFFFF
##0F57151.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5715;
/* rgb */ color: rgb(15, 87, 21);
/* oklch */ color: oklch(40.0% 0.120 143.9);
Tailwind
colors: {
  custom: {
    50: '#5c8757',
    500: '#0f5715',
    950: '#000000',
  },
}
SCSS
$custom: #0f5715;
$custom-light: #5c8757;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5715",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 125,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.1196,
    "h": 143.9
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#0F5715
secondary
#913189
accent
#3ADEED
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5715

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

Preview Lab → · Contrast checker → · Palette generator →

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