#0F6521#0F6521

#0F6521 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.128 H 145.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#0F6521
RGBrgb(15, 101, 33)
HSLhsl(133, 74%, 23%)
HSVhsv(133, 85%, 40%)
CMYKcmyk(85.1%, 0%, 67.3%, 60.4%)
CIE-LABlab(36.96, -39.40, 30.87)
CIE-LCHlch(36.96, 50.05, 141.92°)
OKLaboklab(44.36% -0.1061 0.072)
OKLCHoklch(44.36% 0.128 145.8)
XYZxyz(5.1248, 9.5181, 3.0056)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6521 #650F53
analogous
#28650F #0F6521 #0F654C
triadic
#0F6521 #210F65 #65210F
tetradic
#0F6521 #0F2865 #650F53 #654C0F
square
#0F6521 #0F2865 #650F53 #654C0F
split-complementary
#0F6521 #4C0F65 #650F28
monochromatic
#041B09 #073010 #0F6521 #179A32 #1FD044

Accessibility & contrast

On white

7.23
#0F6521 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#0F6521 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6521
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6521#FFFFFF#000000##FFFFFF
##0F65211.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B19
Deuteranopia (green-blind)
#5D5427
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #0f6521;
/* rgb */ color: rgb(15, 101, 33);
/* oklch */ color: oklch(44.4% 0.128 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f925f',
    500: '#0f6521',
    950: '#000000',
  },
}
SCSS
$custom: #0f6521;
$custom-light: #5f925f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6521",
  "rgb": {
    "r": 15,
    "g": 101,
    "b": 33
  },
  "hsl": {
    "h": 132.558,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.12825,
    "h": 145.8
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#0F6521
secondary
#9E3287
accent
#37CAF1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#050D05
muted
#797E79

Preview Lab

Preview with #0F6521

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

Preview Lab → · Contrast checker → · Palette generator →

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