#0F5A29#0F5A29

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

Color values

HEX#0F5A29
RGBrgb(15, 90, 41)
HSLhsl(141, 71%, 21%)
HSVhsv(141, 83%, 35%)
CMYKcmyk(83.3%, 0%, 54.4%, 64.7%)
CIE-LABlab(33.08, -34.03, 22.04)
CIE-LCHlch(33.08, 40.55, 147.07°)
OKLaboklab(41.17% -0.0914 0.0534)
OKLCHoklch(41.17% 0.106 149.7)
XYZxyz(4.2530, 7.5735, 3.3351)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A29 #5A0F40
analogous
#1A5A0F #0F5A29 #0F5A4E
triadic
#0F5A29 #290F5A #5A290F
tetradic
#0F5A29 #0F1A5A #5A0F40 #5A4E0F
square
#0F5A29 #0F1A5A #5A0F40 #5A4E0F
split-complementary
#0F5A29 #4E0F5A #5A0F1A
monochromatic
#041A0C #062611 #0F5A29 #188E41 #20C359

Accessibility & contrast

On white

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

On black

2.51
#0F5A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0F5A29#FFFFFF#000000##FFFFFF
##0F5A291.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a29;
/* rgb */ color: rgb(15, 90, 41);
/* oklch */ color: oklch(41.2% 0.106 149.7);
Tailwind
colors: {
  custom: {
    50: '#5c8964',
    500: '#0f5a29',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a29;
$custom-light: #5c8964;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a29",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 41
  },
  "hsl": {
    "h": 140.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.10589,
    "h": 149.7
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#0F5A29
secondary
#943171
accent
#3AB0EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5A29

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

Preview Lab → · Contrast checker → · Palette generator →

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