#0F5C1B#0F5C1B

#0F5C1B is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.121 H 145.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#0F5C1B
RGBrgb(15, 92, 27)
HSLhsl(129, 72%, 21%)
HSVhsv(129, 84%, 36%)
CMYKcmyk(83.7%, 0%, 70.7%, 63.9%)
CIE-LABlab(33.64, -36.87, 30.08)
CIE-LCHlch(33.64, 47.59, 140.79°)
OKLaboklab(41.57% -0.0995 0.0697)
OKLCHoklch(41.57% 0.121 145)
XYZxyz(4.2217, 7.8345, 2.3264)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C1B #5C0F50
analogous
#295C0F #0F5C1B #0F5C41
triadic
#0F5C1B #1B0F5C #5C1B0F
tetradic
#0F5C1B #0F295C #5C0F50 #5C410F
square
#0F5C1B #0F295C #5C0F50 #5C410F
split-complementary
#0F5C1B #410F5C #5C0F29
monochromatic
#041A08 #06270C #0F5C1B #18912A #20C53A

Accessibility & contrast

On white

8.18
#0F5C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C1B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C1B#FFFFFF#000000##FFFFFF
##0F5C1B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c1b;
/* rgb */ color: rgb(15, 92, 27);
/* oklch */ color: oklch(41.6% 0.121 145.0);
Tailwind
colors: {
  custom: {
    50: '#5d8b5b',
    500: '#0f5c1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c1b;
$custom-light: #5d8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c1b",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 129.351,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.12147,
    "h": 145
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#0F5C1B
secondary
#953186
accent
#39D2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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