#0F5A2D#0F5A2D

#0F5A2D is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.102 H 151.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#0F5A2D
RGBrgb(15, 90, 45)
HSLhsl(144, 71%, 21%)
HSVhsv(144, 83%, 35%)
CMYKcmyk(83.3%, 0%, 50%, 64.7%)
CIE-LABlab(33.14, -33.29, 19.82)
CIE-LCHlch(33.14, 38.75, 149.23°)
OKLaboklab(41.24% -0.0895 0.0486)
OKLCHoklch(41.24% 0.102 151.5)
XYZxyz(4.3264, 7.6028, 3.7216)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A2D #5A0F3C
analogous
#165A0F #0F5A2D #0F5A52
triadic
#0F5A2D #2D0F5A #5A2D0F
tetradic
#0F5A2D #0F165A #5A0F3C #5A520F
square
#0F5A2D #0F165A #5A0F3C #5A520F
split-complementary
#0F5A2D #520F5A #5A0F16
monochromatic
#041A0D #062613 #0F5A2D #188E47 #20C361

Accessibility & contrast

On white

8.33
#0F5A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A2D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A2D#FFFFFF#000000##FFFFFF
##0F5A2D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522A
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a2d;
/* rgb */ color: rgb(15, 90, 45);
/* oklch */ color: oklch(41.2% 0.102 151.5);
Tailwind
colors: {
  custom: {
    50: '#5c8966',
    500: '#0f5a2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a2d;
$custom-light: #5c8966;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a2d",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 144,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.1018,
    "h": 151.5
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#0F5A2D
secondary
#94316C
accent
#3AA6EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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