#0F4A0F#0F4A0F

#0F4A0F is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.107 H 142.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#0F4A0F
RGBrgb(15, 74, 15)
HSLhsl(120, 66%, 17%)
HSVhsv(120, 80%, 29%)
CMYKcmyk(79.7%, 0%, 79.7%, 71%)
CIE-LABlab(26.83, -31.45, 28.38)
CIE-LCHlch(26.83, 42.36, 137.94°)
OKLaboklab(35.89% -0.0854 0.0645)
OKLCHoklch(35.89% 0.107 142.9)
XYZxyz(2.7318, 5.0333, 1.2794)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A0F #4A0F4A
analogous
#2D4A0F #0F4A0F #0F4A2D
triadic
#0F4A0F #0F0F4A #4A0F0F
tetradic
#0F4A0F #0F2D4A #4A0F4A #4A2D0F
square
#0F4A0F #0F2D4A #4A0F4A #4A2D0F
split-complementary
#0F4A0F #2D0F4A #4A0F2D
monochromatic
#051905 #051905 #0F4A0F #197D19 #24B024

Accessibility & contrast

On white

10.46
#0F4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0F4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A0F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A0F#FFFFFF#000000##FFFFFF
##0F4A0F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4a0f;
/* rgb */ color: rgb(15, 74, 15);
/* oklch */ color: oklch(35.9% 0.107 142.9);
Tailwind
colors: {
  custom: {
    50: '#597d51',
    500: '#0f4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a0f;
$custom-light: #597d51;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a0f",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.10699,
    "h": 142.9
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#0F4A0F
secondary
#843084
accent
#3FE9E9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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