#0F4A28#0F4A28

#0F4A28 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.083 H 153.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#0F4A28
RGBrgb(15, 74, 40)
HSLhsl(145, 66%, 17%)
HSVhsv(145, 80%, 29%)
CMYKcmyk(79.7%, 0%, 45.9%, 71%)
CIE-LABlab(27.16, -27.54, 15.09)
CIE-LCHlch(27.16, 31.40, 151.27°)
OKLaboklab(36.27% -0.0742 0.0374)
OKLCHoklch(36.27% 0.083 153.2)
XYZxyz(3.0285, 5.1520, 2.8419)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A28 #4A0F31
analogous
#134A0F #0F4A28 #0F4A46
triadic
#0F4A28 #280F4A #4A280F
tetradic
#0F4A28 #0F134A #4A0F31 #4A460F
square
#0F4A28 #0F134A #4A0F31 #4A460F
split-complementary
#0F4A28 #460F4A #4A0F13
monochromatic
#05190E #05190E #0F4A28 #197D44 #24B05F

Accessibility & contrast

On white

10.34
#0F4A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A28
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A28#FFFFFF#000000##FFFFFF
##0F4A281.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#433E2A
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a28;
/* rgb */ color: rgb(15, 74, 40);
/* oklch */ color: oklch(36.3% 0.083 153.2);
Tailwind
colors: {
  custom: {
    50: '#577d62',
    500: '#0f4a28',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a28;
$custom-light: #577d62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a28",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 40
  },
  "hsl": {
    "h": 145.424,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.08312,
    "h": 153.2
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#0F4A28
secondary
#843061
accent
#3FA1E9
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4A28

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

Preview Lab → · Contrast checker → · Palette generator →

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