#0F5727#0F5727

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

Color values

HEX#0F5727
RGBrgb(15, 87, 39)
HSLhsl(140, 71%, 20%)
HSVhsv(140, 83%, 34%)
CMYKcmyk(82.8%, 0%, 55.2%, 65.9%)
CIE-LABlab(31.95, -33.19, 21.78)
CIE-LCHlch(31.95, 39.70, 146.73°)
OKLaboklab(40.23% -0.0892 0.0527)
OKLCHoklch(40.23% 0.104 149.4)
XYZxyz(3.9711, 7.0640, 3.0733)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5727 #570F3F
analogous
#1B570F #0F5727 #0F574B
triadic
#0F5727 #270F57 #57270F
tetradic
#0F5727 #0F1B57 #570F3F #574B0F
square
#0F5727 #0F1B57 #570F3F #574B0F
split-complementary
#0F5727 #4B0F57 #570F1B
monochromatic
#051A0C #062310 #0F5727 #188B3E #21BF56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5727#FFFFFF#000000##FFFFFF
##0F57271.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)
#584F23
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5727;
/* rgb */ color: rgb(15, 87, 39);
/* oklch */ color: oklch(40.2% 0.104 149.4);
Tailwind
colors: {
  custom: {
    50: '#5b8762',
    500: '#0f5727',
    950: '#000000',
  },
}
SCSS
$custom: #0f5727;
$custom-light: #5b8762;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5727",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 39
  },
  "hsl": {
    "h": 140,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.10361,
    "h": 149.4
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#0F5727
secondary
#913171
accent
#3AB2ED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5727

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

Preview Lab → · Contrast checker → · Palette generator →

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