#0F4A2C#0F4A2C

#0F4A2C is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.079 H 156.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#0F4A2C
RGBrgb(15, 74, 44)
HSLhsl(149, 66%, 17%)
HSVhsv(149, 80%, 29%)
CMYKcmyk(79.7%, 0%, 40.5%, 71%)
CIE-LABlab(27.24, -26.64, 12.72)
CIE-LCHlch(27.24, 29.52, 154.49°)
OKLaboklab(36.36% -0.072 0.0319)
OKLCHoklch(36.36% 0.079 156.1)
XYZxyz(3.1001, 5.1806, 3.2190)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A2C #4A0F2D
analogous
#0F4A0F #0F4A2C #0F4A4A
triadic
#0F4A2C #2C0F4A #4A2C0F
tetradic
#0F4A2C #0F0F4A #4A0F2D #4A4A0F
square
#0F4A2C #0F0F4A #4A0F2D #4A4A0F
split-complementary
#0F4A2C #4A0F4A #4A0F0F
monochromatic
#05190F #05190F #0F4A2C #197D4A #24B069

Accessibility & contrast

On white

10.31
#0F4A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0F4A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A2C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A2C#FFFFFF#000000##FFFFFF
##0F4A2C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A432A
Deuteranopia (green-blind)
#423E2E
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a2c;
/* rgb */ color: rgb(15, 74, 44);
/* oklch */ color: oklch(36.4% 0.079 156.1);
Tailwind
colors: {
  custom: {
    50: '#577d65',
    500: '#0f4a2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a2c;
$custom-light: #577d65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a2c",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 44
  },
  "hsl": {
    "h": 149.492,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36364,
    "c": 0.07878,
    "h": 156.1
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#0F4A2C
secondary
#84305B
accent
#3F95E9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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