#0F5314#0F5314

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

Color values

HEX#0F5314
RGBrgb(15, 83, 20)
HSLhsl(124, 69%, 19%)
HSVhsv(124, 82%, 33%)
CMYKcmyk(81.9%, 0%, 75.9%, 67.5%)
CIE-LABlab(30.25, -34.34, 29.71)
CIE-LCHlch(30.25, 45.41, 139.14°)
OKLaboklab(38.74% -0.093 0.068)
OKLCHoklch(38.74% 0.115 143.8)
XYZxyz(3.4163, 6.3382, 1.7050)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5314 #530F4E
analogous
#2C530F #0F5314 #0F5336
triadic
#0F5314 #140F53 #53140F
tetradic
#0F5314 #0F2C53 #530F4E #53360F
square
#0F5314 #0F2C53 #530F4E #53360F
split-complementary
#0F5314 #360F53 #530F2C
monochromatic
#051A06 #061F08 #0F5314 #188720 #22BB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5314#FFFFFF#000000##FFFFFF
##0F53141.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)
#554A0A
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5314;
/* rgb */ color: rgb(15, 83, 20);
/* oklch */ color: oklch(38.7% 0.115 143.8);
Tailwind
colors: {
  custom: {
    50: '#5b8455',
    500: '#0f5314',
    950: '#000000',
  },
}
SCSS
$custom: #0f5314;
$custom-light: #5b8455;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5314",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 124.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.11517,
    "h": 143.8
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#0F5314
secondary
#8D3186
accent
#3CDFEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5314

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

Preview Lab → · Contrast checker → · Palette generator →

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