#0F5315#0F5315

#0F5315 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.114 H 144.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#0F5315
RGBrgb(15, 83, 21)
HSLhsl(125, 69%, 19%)
HSVhsv(125, 82%, 33%)
CMYKcmyk(81.9%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.26, -34.24, 29.26)
CIE-LCHlch(30.26, 45.03, 139.48°)
OKLaboklab(38.75% -0.0926 0.0672)
OKLCHoklch(38.75% 0.114 144)
XYZxyz(3.4254, 6.3418, 1.7529)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5315 #530F4D
analogous
#2B530F #0F5315 #0F5337
triadic
#0F5315 #150F53 #53150F
tetradic
#0F5315 #0F2B53 #530F4D #53370F
square
#0F5315 #0F2B53 #530F4D #53370F
split-complementary
#0F5315 #370F53 #530F2B
monochromatic
#051A07 #061F08 #0F5315 #188722 #22BB2F

Accessibility & contrast

On white

9.26
#0F5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5315
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5315#FFFFFF#000000##FFFFFF
##0F53151.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#005146
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5315;
/* rgb */ color: rgb(15, 83, 21);
/* oklch */ color: oklch(38.8% 0.114 144.0);
Tailwind
colors: {
  custom: {
    50: '#5b8456',
    500: '#0f5315',
    950: '#000000',
  },
}
SCSS
$custom: #0f5315;
$custom-light: #5b8456;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5315",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 125.294,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.11442,
    "h": 144
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#0F5315
secondary
#8D3185
accent
#3CDDEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5315

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

Preview Lab → · Contrast checker → · Palette generator →

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