#0F6028#0F6028

#0F6028 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.115 H 148.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#0F6028
RGBrgb(15, 96, 40)
HSLhsl(139, 73%, 22%)
HSVhsv(139, 84%, 38%)
CMYKcmyk(84.4%, 0%, 58.3%, 62.4%)
CIE-LABlab(35.24, -36.54, 25.25)
CIE-LCHlch(35.24, 44.41, 145.36°)
OKLaboklab(42.96% -0.0981 0.0605)
OKLCHoklch(42.96% 0.115 148.4)
XYZxyz(4.7625, 8.6199, 3.4199)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6028 #600F47
analogous
#1E600F #0F6028 #0F6051
triadic
#0F6028 #280F60 #60280F
tetradic
#0F6028 #0F1E60 #600F47 #60510F
square
#0F6028 #0F1E60 #600F47 #60510F
split-complementary
#0F6028 #510F60 #600F1E
monochromatic
#041A0B #072B12 #0F6028 #17953E #20CA54

Accessibility & contrast

On white

7.71
#0F6028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F6028
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6028#FFFFFF#000000##FFFFFF
##0F60281.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f6028;
/* rgb */ color: rgb(15, 96, 40);
/* oklch */ color: oklch(43.0% 0.115 148.4);
Tailwind
colors: {
  custom: {
    50: '#5e8e63',
    500: '#0f6028',
    950: '#000000',
  },
}
SCSS
$custom: #0f6028;
$custom-light: #5e8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6028",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 138.519,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.11529,
    "h": 148.4
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#0F6028
secondary
#993279
accent
#38B7F0
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F6028

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

Preview Lab → · Contrast checker → · Palette generator →

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