#0F5C2D#0F5C2D

#0F5C2D is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.105 H 151.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5C2D
RGBrgb(15, 92, 45)
HSLhsl(143, 72%, 21%)
HSVhsv(143, 84%, 36%)
CMYKcmyk(83.7%, 0%, 51.1%, 63.9%)
CIE-LABlab(33.87, -34.10, 20.74)
CIE-LCHlch(33.87, 39.91, 148.69°)
OKLaboklab(41.84% -0.0916 0.0507)
OKLCHoklch(41.84% 0.105 151)
XYZxyz(4.4974, 7.9448, 3.7786)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2D #5C0F3E
analogous
#175C0F #0F5C2D #0F5C53
triadic
#0F5C2D #2D0F5C #5C2D0F
tetradic
#0F5C2D #0F175C #5C0F3E #5C530F
square
#0F5C2D #0F175C #5C0F3E #5C530F
split-complementary
#0F5C2D #530F5C #5C0F17
monochromatic
#041A0D #062713 #0F5C2D #189147 #20C560

Accessibility & contrast

On white

8.11
#0F5C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C2D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C2D#FFFFFF#000000##FFFFFF
##0F5C2D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#544D30
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c2d;
/* rgb */ color: rgb(15, 92, 45);
/* oklch */ color: oklch(41.8% 0.105 151.0);
Tailwind
colors: {
  custom: {
    50: '#5c8b67',
    500: '#0f5c2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2d;
$custom-light: #5c8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2d",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 143.377,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.10469,
    "h": 151
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#0F5C2D
secondary
#95316E
accent
#39A8EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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