#0F4F2E#0F4F2E

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

Color values

HEX#0F4F2E
RGBrgb(15, 79, 46)
HSLhsl(149, 68%, 18%)
HSVhsv(149, 81%, 31%)
CMYKcmyk(81%, 0%, 41.8%, 69%)
CIE-LABlab(29.13, -28.42, 14.00)
CIE-LCHlch(29.13, 31.68, 153.78°)
OKLaboklab(37.94% -0.0767 0.035)
OKLCHoklch(37.94% 0.084 155.5)
XYZxyz(3.4858, 5.8904, 3.5375)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2E #4F0F30
analogous
#104F0F #0F4F2E #0F4F4E
triadic
#0F4F2E #2E0F4F #4F2E0F
tetradic
#0F4F2E #0F104F #4F0F30 #4F4E0F
square
#0F4F2E #0F104F #4F0F30 #4F4E0F
split-complementary
#0F4F2E #4E0F4F #4F0F10
monochromatic
#051A0F #051C10 #0F4F2E #19824C #23B66A

Accessibility & contrast

On white

9.64
#0F4F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F2E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F2E#FFFFFF#000000##FFFFFF
##0F4F2E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#474230
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f2e;
/* rgb */ color: rgb(15, 79, 46);
/* oklch */ color: oklch(37.9% 0.084 155.5);
Tailwind
colors: {
  custom: {
    50: '#598167',
    500: '#0f4f2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2e;
$custom-light: #598167;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2e",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 149.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.08434,
    "h": 155.5
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#0F4F2E
secondary
#89315E
accent
#3D97EB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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