#0F4827#0F4827

#0F4827 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.081 H 153.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#0F4827
RGBrgb(15, 72, 39)
HSLhsl(145, 66%, 17%)
HSVhsv(145, 79%, 28%)
CMYKcmyk(79.2%, 0%, 45.8%, 71.8%)
CIE-LABlab(26.40, -26.86, 14.71)
CIE-LCHlch(26.40, 30.62, 151.30°)
OKLaboklab(35.63% -0.0724 0.0365)
OKLCHoklch(35.63% 0.081 153.3)
XYZxyz(2.8803, 4.8824, 2.7097)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4827 #480F30
analogous
#14480F #0F4827 #0F4844
triadic
#0F4827 #270F48 #48270F
tetradic
#0F4827 #0F1448 #480F30 #48440F
square
#0F4827 #0F1448 #480F30 #48440F
split-complementary
#0F4827 #440F48 #480F14
monochromatic
#05190E #05190E #0F4827 #1A7B42 #24AD5E

Accessibility & contrast

On white

10.62
#0F4827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0F4827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4827
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4827#FFFFFF#000000##FFFFFF
##0F48271.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484125
Deuteranopia (green-blind)
#413C29
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4827;
/* rgb */ color: rgb(15, 72, 39);
/* oklch */ color: oklch(35.6% 0.081 153.3);
Tailwind
colors: {
  custom: {
    50: '#577b61',
    500: '#0f4827',
    950: '#000000',
  },
}
SCSS
$custom: #0f4827;
$custom-light: #577b61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4827",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 145.263,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35634,
    "c": 0.0811,
    "h": 153.3
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#0F4827
secondary
#823060
accent
#3FA1E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0F4827

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

Preview Lab → · Contrast checker → · Palette generator →

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