#0F5829#0F5829

#0F5829 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.103 H 150.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#0F5829
RGBrgb(15, 88, 41)
HSLhsl(141, 71%, 20%)
HSVhsv(141, 83%, 35%)
CMYKcmyk(83%, 0%, 53.4%, 65.5%)
CIE-LABlab(32.35, -33.23, 21.13)
CIE-LCHlch(32.35, 39.38, 147.55°)
OKLaboklab(40.56% -0.0893 0.0514)
OKLCHoklch(40.56% 0.103 150.1)
XYZxyz(4.0866, 7.2406, 3.2796)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5829 #580F3E
analogous
#19580F #0F5829 #0F584D
triadic
#0F5829 #290F58 #58290F
tetradic
#0F5829 #0F1958 #580F3E #584D0F
square
#0F5829 #0F1958 #580F3E #584D0F
split-complementary
#0F5829 #4D0F58 #580F19
monochromatic
#041A0C #062411 #0F5829 #188C41 #21C15A

Accessibility & contrast

On white

8.58
#0F5829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0F5829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5829
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5829#FFFFFF#000000##FFFFFF
##0F58291.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595025
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5829;
/* rgb */ color: rgb(15, 88, 41);
/* oklch */ color: oklch(40.6% 0.103 150.1);
Tailwind
colors: {
  custom: {
    50: '#5b8864',
    500: '#0f5829',
    950: '#000000',
  },
}
SCSS
$custom: #0f5829;
$custom-light: #5b8864;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5829",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 41
  },
  "hsl": {
    "h": 141.37,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.10301,
    "h": 150.1
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#0F5829
secondary
#92316F
accent
#3AAEEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F5829

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

Preview Lab → · Contrast checker → · Palette generator →

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