#0F5A2E#0F5A2E

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

Color values

HEX#0F5A2E
RGBrgb(15, 90, 46)
HSLhsl(145, 71%, 21%)
HSVhsv(145, 83%, 35%)
CMYKcmyk(83.3%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.16, -33.10, 19.26)
CIE-LCHlch(33.16, 38.29, 149.81°)
OKLaboklab(41.26% -0.089 0.0473)
OKLCHoklch(41.26% 0.101 152)
XYZxyz(4.3459, 7.6106, 3.8242)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A2E #5A0F3B
analogous
#155A0F #0F5A2E #0F5A53
triadic
#0F5A2E #2E0F5A #5A2E0F
tetradic
#0F5A2E #0F155A #5A0F3B #5A530F
square
#0F5A2E #0F155A #5A0F3B #5A530F
split-complementary
#0F5A2E #530F5A #5A0F15
monochromatic
#041A0D #062613 #0F5A2E #188E49 #20C364

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5A2E#FFFFFF#000000##FFFFFF
##0F5A2E1.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)
#5A522B
Deuteranopia (green-blind)
#524C31
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a2e;
/* rgb */ color: rgb(15, 90, 46);
/* oklch */ color: oklch(41.3% 0.101 152.0);
Tailwind
colors: {
  custom: {
    50: '#5c8967',
    500: '#0f5a2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a2e;
$custom-light: #5c8967;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a2e",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 144.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.10077,
    "h": 152
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#0F5A2E
secondary
#94316B
accent
#3AA4EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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