#0F4D2D#0F4D2D

#0F4D2D is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.082 H 155.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#0F4D2D
RGBrgb(15, 77, 45)
HSLhsl(149, 67%, 18%)
HSVhsv(149, 81%, 30%)
CMYKcmyk(80.5%, 0%, 41.6%, 69.8%)
CIE-LABlab(28.38, -27.76, 13.61)
CIE-LCHlch(28.38, 30.92, 153.89°)
OKLaboklab(37.3% -0.075 0.034)
OKLCHoklch(37.3% 0.082 155.6)
XYZxyz(3.3242, 5.5984, 3.3875)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D2D #4D0F2F
analogous
#104D0F #0F4D2D #0F4D4C
triadic
#0F4D2D #2D0F4D #4D2D0F
tetradic
#0F4D2D #0F104D #4D0F2F #4D4C0F
square
#0F4D2D #0F104D #4D0F2F #4D4C0F
split-complementary
#0F4D2D #4C0F4D #4D0F10
monochromatic
#051A0F #051A0F #0F4D2D #19804B #23B369

Accessibility & contrast

On white

9.91
#0F4D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D2D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D2D#FFFFFF#000000##FFFFFF
##0F4D2D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462B
Deuteranopia (green-blind)
#45412F
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d2d;
/* rgb */ color: rgb(15, 77, 45);
/* oklch */ color: oklch(37.3% 0.082 155.6);
Tailwind
colors: {
  custom: {
    50: '#587f66',
    500: '#0f4d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d2d;
$custom-light: #587f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d2d",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 149.032,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.08235,
    "h": 155.6
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#0F4D2D
secondary
#87315D
accent
#3E97EA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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