#0F521E#0F521E

#0F521E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.105 H 146.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#0F521E
RGBrgb(15, 82, 30)
HSLhsl(133, 69%, 19%)
HSVhsv(133, 82%, 32%)
CMYKcmyk(81.7%, 0%, 63.4%, 67.8%)
CIE-LABlab(29.98, -32.68, 24.41)
CIE-LCHlch(29.98, 40.79, 143.24°)
OKLaboklab(38.56% -0.088 0.0579)
OKLCHoklch(38.56% 0.105 146.7)
XYZxyz(3.4484, 6.2295, 2.2487)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F521E #520F43
analogous
#22520F #0F521E #0F5240
triadic
#0F521E #1E0F52 #521E0F
tetradic
#0F521E #0F2252 #520F43 #52400F
square
#0F521E #0F2252 #520F43 #52400F
split-complementary
#0F521E #400F52 #520F22
monochromatic
#051A09 #061E0B #0F521E #188631 #22B944

Accessibility & contrast

On white

9.35
#0F521E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F521E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F521E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F521E#FFFFFF#000000##FFFFFF
##0F521E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A19
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f521e;
/* rgb */ color: rgb(15, 82, 30);
/* oklch */ color: oklch(38.6% 0.105 146.7);
Tailwind
colors: {
  custom: {
    50: '#5a835b',
    500: '#0f521e',
    950: '#000000',
  },
}
SCSS
$custom: #0f521e;
$custom-light: #5a835b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f521e",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 30
  },
  "hsl": {
    "h": 133.433,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.10532,
    "h": 146.7
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#0F521E
secondary
#8C3178
accent
#3CC4EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F521E

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

Preview Lab → · Contrast checker → · Palette generator →

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