#0F4828#0F4828

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

Color values

HEX#0F4828
RGBrgb(15, 72, 40)
HSLhsl(146, 66%, 17%)
HSVhsv(146, 79%, 28%)
CMYKcmyk(79.2%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.42, -26.64, 14.11)
CIE-LCHlch(26.42, 30.15, 152.09°)
OKLaboklab(35.66% -0.0719 0.0351)
OKLCHoklch(35.66% 0.08 154)
XYZxyz(2.8971, 4.8892, 2.7981)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4828 #480F2F
analogous
#13480F #0F4828 #0F4845
triadic
#0F4828 #280F48 #48280F
tetradic
#0F4828 #0F1348 #480F2F #48450F
square
#0F4828 #0F1348 #480F2F #48450F
split-complementary
#0F4828 #450F48 #480F13
monochromatic
#05190E #05190E #0F4828 #1A7B44 #24AD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4828#FFFFFF#000000##FFFFFF
##0F48281.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)
#484126
Deuteranopia (green-blind)
#413D2A
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4828;
/* rgb */ color: rgb(15, 72, 40);
/* oklch */ color: oklch(35.7% 0.080 154.0);
Tailwind
colors: {
  custom: {
    50: '#577b62',
    500: '#0f4828',
    950: '#000000',
  },
}
SCSS
$custom: #0f4828;
$custom-light: #577b62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4828",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 146.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.08001,
    "h": 154
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#0F4828
secondary
#82305E
accent
#3F9EE8
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0F4828

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

Preview Lab → · Contrast checker → · Palette generator →

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