#0F5B29#0F5B29

#0F5B29 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.107 H 149.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#0F5B29
RGBrgb(15, 91, 41)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 36%)
CMYKcmyk(83.5%, 0%, 54.9%, 64.3%)
CIE-LABlab(33.44, -34.43, 22.49)
CIE-LCHlch(33.44, 41.13, 146.84°)
OKLaboklab(41.47% -0.0925 0.0544)
OKLCHoklch(41.47% 0.107 149.5)
XYZxyz(4.3380, 7.7433, 3.3634)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B29 #5B0F41
analogous
#1B5B0F #0F5B29 #0F5B4F
triadic
#0F5B29 #290F5B #5B290F
tetradic
#0F5B29 #0F1B5B #5B0F41 #5B4F0F
square
#0F5B29 #0F1B5B #5B0F41 #5B4F0F
split-complementary
#0F5B29 #4F0F5B #5B0F1B
monochromatic
#041A0C #062611 #0F5B29 #189041 #20C458

Accessibility & contrast

On white

8.24
#0F5B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0F5B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B29
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B29#FFFFFF#000000##FFFFFF
##0F5B291.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5225
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b29;
/* rgb */ color: rgb(15, 91, 41);
/* oklch */ color: oklch(41.5% 0.107 149.5);
Tailwind
colors: {
  custom: {
    50: '#5c8a64',
    500: '#0f5b29',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b29;
$custom-light: #5c8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b29",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 41
  },
  "hsl": {
    "h": 140.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.10731,
    "h": 149.5
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#0F5B29
secondary
#953173
accent
#39B0EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5B29

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

Preview Lab → · Contrast checker → · Palette generator →

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