#0F6828#0F6828

#0F6828 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.3% C 0.126 H 147.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#0F6828
RGBrgb(15, 104, 40)
HSLhsl(137, 75%, 23%)
HSVhsv(137, 86%, 41%)
CMYKcmyk(85.6%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.12, -39.53, 28.67)
CIE-LCHlch(38.12, 48.83, 144.04°)
OKLaboklab(45.34% -0.1062 0.068)
OKLCHoklch(45.34% 0.126 147.4)
XYZxyz(5.5299, 10.1547, 3.6757)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6828 #680F4F
analogous
#22680F #0F6828 #0F6854
triadic
#0F6828 #280F68 #68280F
tetradic
#0F6828 #0F2268 #680F4F #68540F
square
#0F6828 #0F2268 #680F4F #68540F
split-complementary
#0F6828 #540F68 #680F22
monochromatic
#041B0A #073313 #0F6828 #179D3D #1ED351

Accessibility & contrast

On white

6.93
#0F6828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#0F6828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6828
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6828#FFFFFF#000000##FFFFFF
##0F68281.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6828;
/* rgb */ color: rgb(15, 104, 40);
/* oklch */ color: oklch(45.3% 0.126 147.4);
Tailwind
colors: {
  custom: {
    50: '#609464',
    500: '#0f6828',
    950: '#000000',
  },
}
SCSS
$custom: #0f6828;
$custom-light: #609464;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6828",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 136.854,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.1261,
    "h": 147.4
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#0F6828
secondary
#A13282
accent
#36BDF1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #0F6828

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

Preview Lab → · Contrast checker → · Palette generator →

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