#0F5321#0F5321

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

Color values

HEX#0F5321
RGBrgb(15, 83, 33)
HSLhsl(136, 69%, 19%)
HSVhsv(136, 82%, 33%)
CMYKcmyk(81.9%, 0%, 60.2%, 67.5%)
CIE-LABlab(30.39, -32.61, 23.25)
CIE-LCHlch(30.39, 40.05, 144.51°)
OKLaboklab(38.91% -0.0877 0.0556)
OKLCHoklch(38.91% 0.104 147.6)
XYZxyz(3.5645, 6.3975, 2.4855)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5321 #530F41
analogous
#1F530F #0F5321 #0F5343
triadic
#0F5321 #210F53 #53210F
tetradic
#0F5321 #0F1F53 #530F41 #53430F
square
#0F5321 #0F1F53 #530F41 #53430F
split-complementary
#0F5321 #430F53 #530F1F
monochromatic
#051A0A #061F0C #0F5321 #188736 #22BB4A

Accessibility & contrast

On white

9.21
#0F5321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5321
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5321#FFFFFF#000000##FFFFFF
##0F53211.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5321;
/* rgb */ color: rgb(15, 83, 33);
/* oklch */ color: oklch(38.9% 0.104 147.6);
Tailwind
colors: {
  custom: {
    50: '#5a845e',
    500: '#0f5321',
    950: '#000000',
  },
}
SCSS
$custom: #0f5321;
$custom-light: #5a845e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5321",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 33
  },
  "hsl": {
    "h": 135.882,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.10385,
    "h": 147.6
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#0F5321
secondary
#8D3175
accent
#3CBDEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5321

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

Preview Lab → · Contrast checker → · Palette generator →

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