#0F4C20#0F4C20

#0F4C20 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.095 H 148.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#0F4C20
RGBrgb(15, 76, 32)
HSLhsl(137, 67%, 18%)
HSVhsv(137, 80%, 30%)
CMYKcmyk(80.3%, 0%, 57.9%, 70.2%)
CIE-LABlab(27.78, -29.94, 20.65)
CIE-LCHlch(27.78, 36.37, 145.41°)
OKLaboklab(36.73% -0.0806 0.0497)
OKLCHoklch(36.73% 0.095 148.3)
XYZxyz(3.0419, 5.3744, 2.2433)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C20 #4C0F3B
analogous
#1D4C0F #0F4C20 #0F4C3E
triadic
#0F4C20 #200F4C #4C200F
tetradic
#0F4C20 #0F1D4C #4C0F3B #4C3E0F
square
#0F4C20 #0F1D4C #4C0F3B #4C3E0F
split-complementary
#0F4C20 #3E0F4C #4C0F1D
monochromatic
#051A0B #051A0B #0F4C20 #197F36 #23B24B

Accessibility & contrast

On white

10.12
#0F4C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0F4C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C20
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C20#FFFFFF#000000##FFFFFF
##0F4C201.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#464023
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c20;
/* rgb */ color: rgb(15, 76, 32);
/* oklch */ color: oklch(36.7% 0.095 148.3);
Tailwind
colors: {
  custom: {
    50: '#587f5c',
    500: '#0f4c20',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c20;
$custom-light: #587f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c20",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 32
  },
  "hsl": {
    "h": 136.721,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36734,
    "c": 0.09469,
    "h": 148.3
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#0F4C20
secondary
#86316E
accent
#3EBAEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4C20

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

Preview Lab → · Contrast checker → · Palette generator →

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