#0F5320#0F5320

#0F5320 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.105 H 147.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#0F5320
RGBrgb(15, 83, 32)
HSLhsl(135, 69%, 19%)
HSVhsv(135, 82%, 33%)
CMYKcmyk(81.9%, 0%, 61.4%, 67.5%)
CIE-LABlab(30.38, -32.77, 23.79)
CIE-LCHlch(30.38, 40.49, 144.02°)
OKLaboklab(38.89% -0.0882 0.0567)
OKLCHoklch(38.89% 0.105 147.3)
XYZxyz(3.5507, 6.3919, 2.4129)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5320 #530F42
analogous
#20530F #0F5320 #0F5342
triadic
#0F5320 #200F53 #53200F
tetradic
#0F5320 #0F2053 #530F42 #53420F
square
#0F5320 #0F2053 #530F42 #53420F
split-complementary
#0F5320 #420F53 #530F20
monochromatic
#051A0A #061F0C #0F5320 #188734 #22BB48

Accessibility & contrast

On white

9.22
#0F5320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0F5320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5320
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5320#FFFFFF#000000##FFFFFF
##0F53201.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1B
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5320;
/* rgb */ color: rgb(15, 83, 32);
/* oklch */ color: oklch(38.9% 0.105 147.3);
Tailwind
colors: {
  custom: {
    50: '#5a845d',
    500: '#0f5320',
    950: '#000000',
  },
}
SCSS
$custom: #0f5320;
$custom-light: #5a845d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5320",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 32
  },
  "hsl": {
    "h": 135,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.10482,
    "h": 147.3
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#0F5320
secondary
#8D3176
accent
#3CC0EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5320

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

Preview Lab → · Contrast checker → · Palette generator →

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