#0F5A2F#0F5A2F

#0F5A2F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.100 H 152.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5A2F
RGBrgb(15, 90, 47)
HSLhsl(146, 71%, 21%)
HSVhsv(146, 83%, 35%)
CMYKcmyk(83.3%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.18, -32.90, 18.69)
CIE-LCHlch(33.18, 37.84, 150.39°)
OKLaboklab(41.28% -0.0884 0.0461)
OKLCHoklch(41.28% 0.1 152.5)
XYZxyz(4.3659, 7.6186, 3.9292)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A2F #5A0F3A
analogous
#145A0F #0F5A2F #0F5A54
triadic
#0F5A2F #2F0F5A #5A2F0F
tetradic
#0F5A2F #0F145A #5A0F3A #5A540F
square
#0F5A2F #0F145A #5A0F3A #5A540F
split-complementary
#0F5A2F #540F5A #5A0F14
monochromatic
#041A0E #062614 #0F5A2F #188E4A #20C366

Accessibility & contrast

On white

8.32
#0F5A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#0F5A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A2F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A2F#FFFFFF#000000##FFFFFF
##0F5A2F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#514C32
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a2f;
/* rgb */ color: rgb(15, 90, 47);
/* oklch */ color: oklch(41.3% 0.100 152.5);
Tailwind
colors: {
  custom: {
    50: '#5c8968',
    500: '#0f5a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a2f;
$custom-light: #5c8968;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a2f",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 145.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.09972,
    "h": 152.5
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#0F5A2F
secondary
#94316A
accent
#3AA1EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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