#0F4D21#0F4D21

#0F4D21 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.095 H 148.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#0F4D21
RGBrgb(15, 77, 33)
HSLhsl(137, 67%, 18%)
HSVhsv(137, 81%, 30%)
CMYKcmyk(80.5%, 0%, 57.1%, 69.8%)
CIE-LABlab(28.16, -30.18, 20.55)
CIE-LCHlch(28.16, 36.51, 145.75°)
OKLaboklab(37.06% -0.0812 0.0496)
OKLCHoklch(37.06% 0.095 148.6)
XYZxyz(3.1251, 5.5188, 2.3391)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D21 #4D0F3B
analogous
#1C4D0F #0F4D21 #0F4D40
triadic
#0F4D21 #210F4D #4D210F
tetradic
#0F4D21 #0F1C4D #4D0F3B #4D400F
square
#0F4D21 #0F1C4D #4D0F3B #4D400F
split-complementary
#0F4D21 #400F4D #4D0F1C
monochromatic
#051A0B #051A0B #0F4D21 #198037 #23B34D

Accessibility & contrast

On white

9.98
#0F4D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0F4D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D21
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D21#FFFFFF#000000##FFFFFF
##0F4D211.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461D
Deuteranopia (green-blind)
#474024
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d21;
/* rgb */ color: rgb(15, 77, 33);
/* oklch */ color: oklch(37.1% 0.095 148.6);
Tailwind
colors: {
  custom: {
    50: '#587f5d',
    500: '#0f4d21',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d21;
$custom-light: #587f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d21",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 33
  },
  "hsl": {
    "h": 137.419,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.09515,
    "h": 148.6
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#0F4D21
secondary
#87316E
accent
#3EB8EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4D21

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

Preview Lab → · Contrast checker → · Palette generator →

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