#0F5A2A#0F5A2A

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

Color values

HEX#0F5A2A
RGBrgb(15, 90, 42)
HSLhsl(142, 71%, 21%)
HSVhsv(142, 83%, 35%)
CMYKcmyk(83.3%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.09, -33.85, 21.49)
CIE-LCHlch(33.09, 40.10, 147.59°)
OKLaboklab(41.19% -0.0909 0.0522)
OKLCHoklch(41.19% 0.105 150.1)
XYZxyz(4.2707, 7.5805, 3.4281)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A2A #5A0F3F
analogous
#195A0F #0F5A2A #0F5A4F
triadic
#0F5A2A #2A0F5A #5A2A0F
tetradic
#0F5A2A #0F195A #5A0F3F #5A4F0F
square
#0F5A2A #0F195A #5A0F3F #5A4F0F
split-complementary
#0F5A2A #4F0F5A #5A0F19
monochromatic
#041A0C #062612 #0F5A2A #188E42 #20C35B

Accessibility & contrast

On white

8.35
#0F5A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A2A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A2A#FFFFFF#000000##FFFFFF
##0F5A2A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a2a;
/* rgb */ color: rgb(15, 90, 42);
/* oklch */ color: oklch(41.2% 0.105 150.1);
Tailwind
colors: {
  custom: {
    50: '#5c8964',
    500: '#0f5a2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a2a;
$custom-light: #5c8964;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a2a",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 141.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.10487,
    "h": 150.1
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#0F5A2A
secondary
#943170
accent
#3AADEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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