#0F5728#0F5728

#0F5728 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.103 H 149.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#0F5728
RGBrgb(15, 87, 40)
HSLhsl(141, 71%, 20%)
HSVhsv(141, 83%, 34%)
CMYKcmyk(82.8%, 0%, 54%, 65.9%)
CIE-LABlab(31.97, -33.01, 21.23)
CIE-LCHlch(31.97, 39.25, 147.26°)
OKLaboklab(40.24% -0.0887 0.0515)
OKLCHoklch(40.24% 0.103 149.8)
XYZxyz(3.9879, 7.0707, 3.1617)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5728 #570F3E
analogous
#1A570F #0F5728 #0F574C
triadic
#0F5728 #280F57 #57280F
tetradic
#0F5728 #0F1A57 #570F3E #574C0F
square
#0F5728 #0F1A57 #570F3E #574C0F
split-complementary
#0F5728 #4C0F57 #570F1A
monochromatic
#051A0C #062310 #0F5728 #188B40 #21BF58

Accessibility & contrast

On white

8.70
#0F5728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#0F5728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5728
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5728#FFFFFF#000000##FFFFFF
##0F57281.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5728;
/* rgb */ color: rgb(15, 87, 40);
/* oklch */ color: oklch(40.2% 0.103 149.8);
Tailwind
colors: {
  custom: {
    50: '#5b8763',
    500: '#0f5728',
    950: '#000000',
  },
}
SCSS
$custom: #0f5728;
$custom-light: #5b8763;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5728",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 40
  },
  "hsl": {
    "h": 140.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.10259,
    "h": 149.8
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#0F5728
secondary
#913170
accent
#3AAFED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5728

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

Preview Lab → · Contrast checker → · Palette generator →

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