#0F5A0F#0F5A0F

#0F5A0F is a dark, vivid green. Relative luminance 0.074; OKLCH L 40.9% C 0.127 H 142.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#0F5A0F
RGBrgb(15, 90, 15)
HSLhsl(120, 71%, 21%)
HSVhsv(120, 83%, 35%)
CMYKcmyk(83.3%, 0%, 83.3%, 64.7%)
CIE-LABlab(32.81, -37.34, 34.34)
CIE-LCHlch(32.81, 50.73, 137.40°)
OKLaboklab(40.85% -0.1013 0.0769)
OKLCHoklch(40.85% 0.127 142.8)
XYZxyz(3.9391, 7.4479, 1.6818)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A0F #5A0F5A
analogous
#345A0F #0F5A0F #0F5A34
triadic
#0F5A0F #0F0F5A #5A0F0F
tetradic
#0F5A0F #0F345A #5A0F5A #5A340F
square
#0F5A0F #0F345A #5A0F5A #5A340F
split-complementary
#0F5A0F #340F5A #5A0F34
monochromatic
#041A04 #062606 #0F5A0F #188E18 #20C320

Accessibility & contrast

On white

8.44
#0F5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A0F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A0F#FFFFFF#000000##FFFFFF
##0F5A0F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a0f;
/* rgb */ color: rgb(15, 90, 15);
/* oklch */ color: oklch(40.9% 0.127 142.8);
Tailwind
colors: {
  custom: {
    50: '#5d8a54',
    500: '#0f5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a0f;
$custom-light: #5d8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a0f",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.12723,
    "h": 142.8
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#0F5A0F
secondary
#943194
accent
#3AEEEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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