#0F5010#0F5010

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

Color values

HEX#0F5010
RGBrgb(15, 80, 16)
HSLhsl(121, 68%, 19%)
HSVhsv(121, 81%, 31%)
CMYKcmyk(81.3%, 0%, 80%, 68.6%)
CIE-LABlab(29.10, -33.63, 30.26)
CIE-LCHlch(29.10, 45.24, 138.01°)
OKLaboklab(37.77% -0.0912 0.0686)
OKLCHoklch(37.77% 0.114 143.1)
XYZxyz(3.1590, 5.8759, 1.4578)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5010 #500F4F
analogous
#2E500F #0F5010 #0F5030
triadic
#0F5010 #100F50 #50100F
tetradic
#0F5010 #0F2E50 #500F4F #50300F
square
#0F5010 #0F2E50 #500F4F #50300F
split-complementary
#0F5010 #300F50 #500F2E
monochromatic
#051A05 #051C06 #0F5010 #19841A #22B725

Accessibility & contrast

On white

9.65
#0F5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5010
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5010#FFFFFF#000000##FFFFFF
##0F50101.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5010;
/* rgb */ color: rgb(15, 80, 16);
/* oklch */ color: oklch(37.8% 0.114 143.1);
Tailwind
colors: {
  custom: {
    50: '#5a8253',
    500: '#0f5010',
    950: '#000000',
  },
}
SCSS
$custom: #0f5010;
$custom-light: #5a8253;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5010",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 120.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.11413,
    "h": 143.1
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#0F5010
secondary
#8A3189
accent
#3DE9EB
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F5010

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

Preview Lab → · Contrast checker → · Palette generator →

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