#0F5020#0F5020

#0F5020 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.101 H 147.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0F5020
RGBrgb(15, 80, 32)
HSLhsl(136, 68%, 19%)
HSVhsv(136, 81%, 31%)
CMYKcmyk(81.3%, 0%, 60%, 68.6%)
CIE-LABlab(29.27, -31.57, 22.46)
CIE-LCHlch(29.27, 38.75, 144.58°)
OKLaboklab(37.97% -0.085 0.0538)
OKLCHoklch(37.97% 0.101 147.7)
XYZxyz(3.3261, 5.9428, 2.3380)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5020 #500F3F
analogous
#1E500F #0F5020 #0F5040
triadic
#0F5020 #200F50 #50200F
tetradic
#0F5020 #0F1E50 #500F3F #50400F
square
#0F5020 #0F1E50 #500F3F #50400F
split-complementary
#0F5020 #400F50 #500F1E
monochromatic
#051A0A #051C0B #0F5020 #198435 #22B749

Accessibility & contrast

On white

9.60
#0F5020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F5020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5020
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5020#FFFFFF#000000##FFFFFF
##0F50201.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#494324
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5020;
/* rgb */ color: rgb(15, 80, 32);
/* oklch */ color: oklch(38.0% 0.101 147.7);
Tailwind
colors: {
  custom: {
    50: '#59825d',
    500: '#0f5020',
    950: '#000000',
  },
}
SCSS
$custom: #0f5020;
$custom-light: #59825d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5020",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 32
  },
  "hsl": {
    "h": 135.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37969,
    "c": 0.10053,
    "h": 147.7
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#0F5020
secondary
#8A3173
accent
#3DBEEB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F5020

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

Preview Lab → · Contrast checker → · Palette generator →

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