#0F5014#0F5014

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

Color values

HEX#0F5014
RGBrgb(15, 80, 20)
HSLhsl(125, 68%, 19%)
HSVhsv(125, 81%, 31%)
CMYKcmyk(81.3%, 0%, 75%, 68.6%)
CIE-LABlab(29.13, -33.22, 28.52)
CIE-LCHlch(29.13, 43.78, 139.35°)
OKLaboklab(37.81% -0.0899 0.0655)
OKLCHoklch(37.81% 0.111 143.9)
XYZxyz(3.1917, 5.8890, 1.6302)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5014 #500F4B
analogous
#2A500F #0F5014 #0F5034
triadic
#0F5014 #140F50 #50140F
tetradic
#0F5014 #0F2A50 #500F4B #50340F
square
#0F5014 #0F2A50 #500F4B #50340F
split-complementary
#0F5014 #340F50 #500F2A
monochromatic
#051A06 #051C07 #0F5014 #198421 #22B72E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5014#FFFFFF#000000##FFFFFF
##0F50141.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)
#52480B
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5014;
/* rgb */ color: rgb(15, 80, 20);
/* oklch */ color: oklch(37.8% 0.111 143.9);
Tailwind
colors: {
  custom: {
    50: '#5a8255',
    500: '#0f5014',
    950: '#000000',
  },
}
SCSS
$custom: #0f5014;
$custom-light: #5a8255;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5014",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 124.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.11122,
    "h": 143.9
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#0F5014
secondary
#8A3183
accent
#3DDEEB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5014

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

Preview Lab → · Contrast checker → · Palette generator →

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