#0F4F2D#0F4F2D

#0F4F2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.085 H 154.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#0F4F2D
RGBrgb(15, 79, 45)
HSLhsl(148, 68%, 18%)
HSVhsv(148, 81%, 31%)
CMYKcmyk(81%, 0%, 43%, 69%)
CIE-LABlab(29.11, -28.65, 14.59)
CIE-LCHlch(29.11, 32.15, 153.01°)
OKLaboklab(37.91% -0.0773 0.0364)
OKLCHoklch(37.91% 0.085 154.8)
XYZxyz(3.4663, 5.8826, 3.4349)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2D #4F0F31
analogous
#114F0F #0F4F2D #0F4F4D
triadic
#0F4F2D #2D0F4F #4F2D0F
tetradic
#0F4F2D #0F114F #4F0F31 #4F4D0F
square
#0F4F2D #0F114F #4F0F31 #4F4D0F
split-complementary
#0F4F2D #4D0F4F #4F0F11
monochromatic
#051A0F #051C10 #0F4F2D #19824A #23B668

Accessibility & contrast

On white

9.65
#0F4F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F4F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F2D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F2D#FFFFFF#000000##FFFFFF
##0F4F2D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#47422F
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f2d;
/* rgb */ color: rgb(15, 79, 45);
/* oklch */ color: oklch(37.9% 0.085 154.8);
Tailwind
colors: {
  custom: {
    50: '#598166',
    500: '#0f4f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2d;
$custom-light: #598166;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2d",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 148.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37913,
    "c": 0.08541,
    "h": 154.8
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#0F4F2D
secondary
#893160
accent
#3D99EB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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