#0F4D0F#0F4D0F

#0F4D0F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.111 H 142.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#0F4D0F
RGBrgb(15, 77, 15)
HSLhsl(120, 67%, 18%)
HSVhsv(120, 81%, 30%)
CMYKcmyk(80.5%, 0%, 80.5%, 69.8%)
CIE-LABlab(27.96, -32.60, 29.53)
CIE-LCHlch(27.96, 43.98, 137.82°)
OKLaboklab(36.83% -0.0885 0.0669)
OKLCHoklch(36.83% 0.111 142.9)
XYZxyz(2.9369, 5.4435, 1.3478)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D0F #4D0F4D
analogous
#2E4D0F #0F4D0F #0F4D2E
triadic
#0F4D0F #0F0F4D #4D0F0F
tetradic
#0F4D0F #0F2E4D #4D0F4D #4D2E0F
square
#0F4D0F #0F2E4D #4D0F4D #4D2E0F
split-complementary
#0F4D0F #2E0F4D #4D0F2E
monochromatic
#051A05 #051A05 #0F4D0F #198019 #23B323

Accessibility & contrast

On white

10.05
#0F4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D0F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D0F#FFFFFF#000000##FFFFFF
##0F4D0F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d0f;
/* rgb */ color: rgb(15, 77, 15);
/* oklch */ color: oklch(36.8% 0.111 142.9);
Tailwind
colors: {
  custom: {
    50: '#598052',
    500: '#0f4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d0f;
$custom-light: #598052;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d0f",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.11092,
    "h": 142.9
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#0F4D0F
secondary
#873187
accent
#3EEAEA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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