#0F6821#0F6821

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

Color values

HEX#0F6821
RGBrgb(15, 104, 33)
HSLhsl(132, 75%, 23%)
HSVhsv(132, 86%, 41%)
CMYKcmyk(85.6%, 0%, 68.3%, 59.2%)
CIE-LABlab(38.04, -40.47, 32.08)
CIE-LCHlch(38.04, 51.64, 141.60°)
OKLaboklab(45.25% -0.109 0.0746)
OKLCHoklch(45.25% 0.132 145.6)
XYZxyz(5.4214, 10.1113, 3.1045)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6821 #680F56
analogous
#29680F #0F6821 #0F684D
triadic
#0F6821 #210F68 #68210F
tetradic
#0F6821 #0F2968 #680F56 #684D0F
square
#0F6821 #0F2968 #680F56 #684D0F
split-complementary
#0F6821 #4D0F68 #680F29
monochromatic
#041B08 #073310 #0F6821 #179D32 #1ED343

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F6821#FFFFFF#000000##FFFFFF
##0F68211.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)
#6A5E18
Deuteranopia (green-blind)
#605727
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6821;
/* rgb */ color: rgb(15, 104, 33);
/* oklch */ color: oklch(45.3% 0.132 145.6);
Tailwind
colors: {
  custom: {
    50: '#609460',
    500: '#0f6821',
    950: '#000000',
  },
}
SCSS
$custom: #0f6821;
$custom-light: #609460;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6821",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 33
  },
  "hsl": {
    "h": 132.135,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.13209,
    "h": 145.6
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#0F6821
secondary
#A1328A
accent
#36CCF1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #0F6821

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

Preview Lab → · Contrast checker → · Palette generator →

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