#0F4E21#0F4E21

#0F4E21 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.097 H 148.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#0F4E21
RGBrgb(15, 78, 33)
HSLhsl(137, 68%, 18%)
HSVhsv(137, 81%, 31%)
CMYKcmyk(80.8%, 0%, 57.7%, 69.4%)
CIE-LABlab(28.54, -30.59, 21.00)
CIE-LCHlch(28.54, 37.11, 145.53°)
OKLaboklab(37.37% -0.0823 0.0506)
OKLCHoklch(37.37% 0.097 148.4)
XYZxyz(3.1957, 5.6598, 2.3626)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E21 #4E0F3C
analogous
#1C4E0F #0F4E21 #0F4E40
triadic
#0F4E21 #210F4E #4E210F
tetradic
#0F4E21 #0F1C4E #4E0F3C #4E400F
square
#0F4E21 #0F1C4E #4E0F3C #4E400F
split-complementary
#0F4E21 #400F4E #4E0F1C
monochromatic
#051A0B #051B0B #0F4E21 #198137 #23B54C

Accessibility & contrast

On white

9.85
#0F4E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0F4E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E21
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E21#FFFFFF#000000##FFFFFF
##0F4E211.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e21;
/* rgb */ color: rgb(15, 78, 33);
/* oklch */ color: oklch(37.4% 0.097 148.4);
Tailwind
colors: {
  custom: {
    50: '#59805d',
    500: '#0f4e21',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e21;
$custom-light: #59805d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e21",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 137.143,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.09661,
    "h": 148.4
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#0F4E21
secondary
#88316F
accent
#3DB9EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4E21

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

Preview Lab → · Contrast checker → · Palette generator →

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