#0F5313#0F5313

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

Color values

HEX#0F5313
RGBrgb(15, 83, 19)
HSLhsl(124, 69%, 19%)
HSVhsv(124, 82%, 33%)
CMYKcmyk(81.9%, 0%, 77.1%, 67.5%)
CIE-LABlab(30.24, -34.45, 30.14)
CIE-LCHlch(30.24, 45.77, 138.81°)
OKLaboklab(38.73% -0.0933 0.0688)
OKLCHoklch(38.73% 0.116 143.6)
XYZxyz(3.4076, 6.3347, 1.6591)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5313 #530F4F
analogous
#2D530F #0F5313 #0F5335
triadic
#0F5313 #130F53 #53130F
tetradic
#0F5313 #0F2D53 #530F4F #53350F
square
#0F5313 #0F2D53 #530F4F #53350F
split-complementary
#0F5313 #350F53 #530F2D
monochromatic
#051A06 #061F07 #0F5313 #18871F #22BB2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5313#FFFFFF#000000##FFFFFF
##0F53131.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)
#554A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5313;
/* rgb */ color: rgb(15, 83, 19);
/* oklch */ color: oklch(38.7% 0.116 143.6);
Tailwind
colors: {
  custom: {
    50: '#5b8455',
    500: '#0f5313',
    950: '#000000',
  },
}
SCSS
$custom: #0f5313;
$custom-light: #5b8455;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5313",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 123.529,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.1159,
    "h": 143.6
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#0F5313
secondary
#8D3188
accent
#3CE2EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5313

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

Preview Lab → · Contrast checker → · Palette generator →

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