#0F5517#0F5517

#0F5517 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.4% C 0.116 H 144.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#0F5517
RGBrgb(15, 85, 23)
HSLhsl(127, 70%, 20%)
HSVhsv(127, 82%, 33%)
CMYKcmyk(82.4%, 0%, 72.9%, 66.7%)
CIE-LABlab(31.02, -34.76, 29.14)
CIE-LCHlch(31.02, 45.36, 140.03°)
OKLaboklab(39.39% -0.0939 0.0672)
OKLCHoklch(39.39% 0.116 144.4)
XYZxyz(3.5999, 6.6600, 1.9062)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5517 #550F4D
analogous
#2A550F #0F5517 #0F553A
triadic
#0F5517 #170F55 #55170F
tetradic
#0F5517 #0F2A55 #550F4D #553A0F
square
#0F5517 #0F2A55 #550F4D #553A0F
split-complementary
#0F5517 #3A0F55 #550F2A
monochromatic
#051A07 #062109 #0F5517 #188925 #21BD33

Accessibility & contrast

On white

9.01
#0F5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0F5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5517
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5517#FFFFFF#000000##FFFFFF
##0F55171.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5517;
/* rgb */ color: rgb(15, 85, 23);
/* oklch */ color: oklch(39.4% 0.116 144.4);
Tailwind
colors: {
  custom: {
    50: '#5b8657',
    500: '#0f5517',
    950: '#000000',
  },
}
SCSS
$custom: #0f5517;
$custom-light: #5b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5517",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 126.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.1155,
    "h": 144.4
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F5517

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

Preview Lab → · Contrast checker → · Palette generator →

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