#0F5515#0F5515

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

Color values

HEX#0F5515
RGBrgb(15, 85, 21)
HSLhsl(125, 70%, 20%)
HSVhsv(125, 82%, 33%)
CMYKcmyk(82.4%, 0%, 75.3%, 66.7%)
CIE-LABlab(31.00, -34.98, 30.05)
CIE-LCHlch(31.00, 46.11, 139.34°)
OKLaboklab(39.37% -0.0946 0.0688)
OKLCHoklch(39.37% 0.117 144)
XYZxyz(3.5806, 6.6523, 1.8046)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5515 #550F4F
analogous
#2C550F #0F5515 #0F5538
triadic
#0F5515 #150F55 #55150F
tetradic
#0F5515 #0F2C55 #550F4F #55380F
square
#0F5515 #0F2C55 #550F4F #55380F
split-complementary
#0F5515 #380F55 #550F2C
monochromatic
#051A06 #062108 #0F5515 #188922 #21BD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5515#FFFFFF#000000##FFFFFF
##0F55151.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)
#574C0B
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5515;
/* rgb */ color: rgb(15, 85, 21);
/* oklch */ color: oklch(39.4% 0.117 144.0);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0f5515',
    950: '#000000',
  },
}
SCSS
$custom: #0f5515;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5515",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 125.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.11703,
    "h": 144
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#0F5515
secondary
#8F3187
accent
#3BDEED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5515

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

Preview Lab → · Contrast checker → · Palette generator →

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