#0F5821#0F5821

#0F5821 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.111 H 147.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#0F5821
RGBrgb(15, 88, 33)
HSLhsl(135, 71%, 20%)
HSVhsv(135, 83%, 35%)
CMYKcmyk(83%, 0%, 62.5%, 65.5%)
CIE-LABlab(32.24, -34.57, 25.44)
CIE-LCHlch(32.24, 42.92, 143.64°)
OKLaboklab(40.43% -0.093 0.0604)
OKLCHoklch(40.43% 0.111 147)
XYZxyz(3.9609, 7.1903, 2.6177)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5821 #580F46
analogous
#21580F #0F5821 #0F5846
triadic
#0F5821 #210F58 #58210F
tetradic
#0F5821 #0F2158 #580F46 #58460F
square
#0F5821 #0F2158 #580F46 #58460F
split-complementary
#0F5821 #460F58 #580F21
monochromatic
#041A0A #06240D #0F5821 #188C35 #21C148

Accessibility & contrast

On white

8.61
#0F5821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F5821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5821
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5821#FFFFFF#000000##FFFFFF
##0F58211.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1C
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5821;
/* rgb */ color: rgb(15, 88, 33);
/* oklch */ color: oklch(40.4% 0.111 147.0);
Tailwind
colors: {
  custom: {
    50: '#5c885e',
    500: '#0f5821',
    950: '#000000',
  },
}
SCSS
$custom: #0f5821;
$custom-light: #5c885e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5821",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 33
  },
  "hsl": {
    "h": 134.795,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.11087,
    "h": 147
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#0F5821
secondary
#92317A
accent
#3AC1EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F5821

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

Preview Lab → · Contrast checker → · Palette generator →

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