#0F5417#0F5417

#0F5417 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.114 H 144.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#0F5417
RGBrgb(15, 84, 23)
HSLhsl(127, 70%, 19%)
HSVhsv(127, 82%, 33%)
CMYKcmyk(82.1%, 0%, 72.6%, 67.1%)
CIE-LABlab(30.65, -34.38, 28.74)
CIE-LCHlch(30.65, 44.81, 140.11°)
OKLaboklab(39.08% -0.0929 0.0663)
OKLCHoklch(39.08% 0.114 144.5)
XYZxyz(3.5217, 6.5037, 1.8802)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5417 #540F4C
analogous
#29540F #0F5417 #0F543A
triadic
#0F5417 #170F54 #54170F
tetradic
#0F5417 #0F2954 #540F4C #543A0F
square
#0F5417 #0F2954 #540F4C #543A0F
split-complementary
#0F5417 #3A0F54 #540F29
monochromatic
#051A07 #062009 #0F5417 #188825 #22BC33

Accessibility & contrast

On white

9.13
#0F5417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F5417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5417
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5417#FFFFFF#000000##FFFFFF
##0F54171.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5417;
/* rgb */ color: rgb(15, 84, 23);
/* oklch */ color: oklch(39.1% 0.114 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b8557',
    500: '#0f5417',
    950: '#000000',
  },
}
SCSS
$custom: #0f5417;
$custom-light: #5b8557;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5417",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 126.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.11417,
    "h": 144.5
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#0F5417
secondary
#8E3183
accent
#3BD8ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5417

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

Preview Lab → · Contrast checker → · Palette generator →

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