#0F6021#0F6021

#0F6021 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.122 H 146.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#0F6021
RGBrgb(15, 96, 33)
HSLhsl(133, 73%, 22%)
HSVhsv(133, 84%, 38%)
CMYKcmyk(84.4%, 0%, 65.6%, 62.4%)
CIE-LABlab(35.16, -37.58, 28.83)
CIE-LCHlch(35.16, 47.36, 142.51°)
OKLaboklab(42.86% -0.1012 0.0677)
OKLCHoklch(42.86% 0.122 146.2)
XYZxyz(4.6540, 8.5765, 2.8487)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6021 #600F4E
analogous
#26600F #0F6021 #0F604A
triadic
#0F6021 #210F60 #60210F
tetradic
#0F6021 #0F2660 #600F4E #604A0F
square
#0F6021 #0F2660 #600F4E #604A0F
split-complementary
#0F6021 #4A0F60 #600F26
monochromatic
#041A09 #072B0F #0F6021 #179533 #20CA45

Accessibility & contrast

On white

7.73
#0F6021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#0F6021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6021
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6021#FFFFFF#000000##FFFFFF
##0F60211.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561A
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f6021;
/* rgb */ color: rgb(15, 96, 33);
/* oklch */ color: oklch(42.9% 0.122 146.2);
Tailwind
colors: {
  custom: {
    50: '#5e8e5f',
    500: '#0f6021',
    950: '#000000',
  },
}
SCSS
$custom: #0f6021;
$custom-light: #5e8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6021",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 33
  },
  "hsl": {
    "h": 133.333,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.12171,
    "h": 146.2
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#0F6021
secondary
#993282
accent
#38C7F0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6021

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

Preview Lab → · Contrast checker → · Palette generator →

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