#0F5015#0F5015

#0F5015 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.110 H 144.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#0F5015
RGBrgb(15, 80, 21)
HSLhsl(126, 68%, 19%)
HSVhsv(126, 81%, 31%)
CMYKcmyk(81.3%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.14, -33.11, 28.06)
CIE-LCHlch(29.14, 43.40, 139.72°)
OKLaboklab(37.82% -0.0895 0.0647)
OKLCHoklch(37.82% 0.11 144.2)
XYZxyz(3.2008, 5.8927, 1.6780)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5015 #500F4A
analogous
#29500F #0F5015 #0F5035
triadic
#0F5015 #150F50 #50150F
tetradic
#0F5015 #0F2950 #500F4A #50350F
square
#0F5015 #0F2950 #500F4A #50350F
split-complementary
#0F5015 #350F50 #500F29
monochromatic
#051A07 #051C07 #0F5015 #198423 #22B730

Accessibility & contrast

On white

9.64
#0F5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5015
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5015#FFFFFF#000000##FFFFFF
##0F50151.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5015;
/* rgb */ color: rgb(15, 80, 21);
/* oklch */ color: oklch(37.8% 0.110 144.2);
Tailwind
colors: {
  custom: {
    50: '#5a8256',
    500: '#0f5015',
    950: '#000000',
  },
}
SCSS
$custom: #0f5015;
$custom-light: #5a8256;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5015",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 125.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.11044,
    "h": 144.2
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#0F5015
secondary
#8A3182
accent
#3DDBEB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5015

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

Preview Lab → · Contrast checker → · Palette generator →

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