#0F4F21#0F4F21

#0F4F21 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.098 H 148.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#0F4F21
RGBrgb(15, 79, 33)
HSLhsl(137, 68%, 18%)
HSVhsv(137, 81%, 31%)
CMYKcmyk(81%, 0%, 58.2%, 69%)
CIE-LABlab(28.91, -31.00, 21.46)
CIE-LCHlch(28.91, 37.71, 145.31°)
OKLaboklab(37.68% -0.0834 0.0516)
OKLCHoklch(37.68% 0.098 148.2)
XYZxyz(3.2672, 5.8030, 2.3864)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F21 #4F0F3D
analogous
#1D4F0F #0F4F21 #0F4F41
triadic
#0F4F21 #210F4F #4F210F
tetradic
#0F4F21 #0F1D4F #4F0F3D #4F410F
square
#0F4F21 #0F1D4F #4F0F3D #4F410F
split-complementary
#0F4F21 #410F4F #4F0F1D
monochromatic
#051A0B #051C0C #0F4F21 #198236 #23B64C

Accessibility & contrast

On white

9.72
#0F4F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0F4F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F21
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F21#FFFFFF#000000##FFFFFF
##0F4F211.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471D
Deuteranopia (green-blind)
#484224
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f21;
/* rgb */ color: rgb(15, 79, 33);
/* oklch */ color: oklch(37.7% 0.098 148.2);
Tailwind
colors: {
  custom: {
    50: '#59815d',
    500: '#0f4f21',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f21;
$custom-light: #59815d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f21",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 33
  },
  "hsl": {
    "h": 136.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37678,
    "c": 0.09808,
    "h": 148.2
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#0F4F21
secondary
#893170
accent
#3DBAEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F21

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

Preview Lab → · Contrast checker → · Palette generator →

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