#0F5C1A#0F5C1A

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

Color values

HEX#0F5C1A
RGBrgb(15, 92, 26)
HSLhsl(129, 72%, 21%)
HSVhsv(129, 84%, 36%)
CMYKcmyk(83.7%, 0%, 71.7%, 63.9%)
CIE-LABlab(33.63, -36.99, 30.55)
CIE-LCHlch(33.63, 47.97, 140.45°)
OKLaboklab(41.56% -0.0999 0.0705)
OKLCHoklch(41.56% 0.122 144.8)
XYZxyz(4.2103, 7.8299, 2.2665)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C1A #5C0F51
analogous
#2A5C0F #0F5C1A #0F5C40
triadic
#0F5C1A #1A0F5C #5C1A0F
tetradic
#0F5C1A #0F2A5C #5C0F51 #5C400F
square
#0F5C1A #0F2A5C #5C0F51 #5C400F
split-complementary
#0F5C1A #400F5C #5C0F2A
monochromatic
#041A07 #06270B #0F5C1A #189129 #20C538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5C1A#FFFFFF#000000##FFFFFF
##0F5C1A1.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)
#5E5311
Deuteranopia (green-blind)
#554D20
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c1a;
/* rgb */ color: rgb(15, 92, 26);
/* oklch */ color: oklch(41.6% 0.122 144.8);
Tailwind
colors: {
  custom: {
    50: '#5d8b5a',
    500: '#0f5c1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c1a;
$custom-light: #5d8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c1a",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 128.571,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.12226,
    "h": 144.8
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#0F5C1A
secondary
#953187
accent
#39D5EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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