#0F6822#0F6822

#0F6822 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.131 H 145.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#0F6822
RGBrgb(15, 104, 34)
HSLhsl(133, 75%, 23%)
HSVhsv(133, 86%, 41%)
CMYKcmyk(85.6%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.05, -40.34, 31.61)
CIE-LCHlch(38.05, 51.25, 141.93°)
OKLaboklab(45.27% -0.1086 0.0737)
OKLCHoklch(45.27% 0.131 145.8)
XYZxyz(5.4356, 10.1170, 3.1794)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6822 #680F55
analogous
#28680F #0F6822 #0F684E
triadic
#0F6822 #220F68 #68220F
tetradic
#0F6822 #0F2868 #680F55 #684E0F
square
#0F6822 #0F2868 #680F55 #684E0F
split-complementary
#0F6822 #4E0F68 #680F28
monochromatic
#041B09 #073311 #0F6822 #179D33 #1ED345

Accessibility & contrast

On white

6.95
#0F6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#0F6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6822
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6822#FFFFFF#000000##FFFFFF
##0F68221.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6822;
/* rgb */ color: rgb(15, 104, 34);
/* oklch */ color: oklch(45.3% 0.131 145.8);
Tailwind
colors: {
  custom: {
    50: '#609460',
    500: '#0f6822',
    950: '#000000',
  },
}
SCSS
$custom: #0f6822;
$custom-light: #609460;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6822",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 132.809,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.13128,
    "h": 145.8
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#0F6822
secondary
#A13289
accent
#36C9F1
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #0F6822

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

Preview Lab → · Contrast checker → · Palette generator →

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