#0F4A0B#0F4A0B

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

Color values

HEX#0F4A0B
RGBrgb(15, 74, 11)
HSLhsl(116, 74%, 17%)
HSVhsv(116, 85%, 29%)
CMYKcmyk(79.7%, 0%, 85.1%, 71%)
CIE-LABlab(26.80, -31.81, 30.00)
CIE-LCHlch(26.80, 43.72, 136.68°)
OKLaboklab(35.85% -0.0866 0.0672)
OKLCHoklch(35.85% 0.11 142.2)
XYZxyz(2.7060, 5.0230, 1.1435)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A0B #460B4A
analogous
#2F4A0B #0F4A0B #0B4A27
triadic
#0F4A0B #0B0F4A #4A0B0F
tetradic
#0F4A0B #0B2F4A #460B4A #4A270B
square
#0F4A0B #0B2F4A #460B4A #4A270B
split-complementary
#0F4A0B #270B4A #4A0B2F
monochromatic
#051B04 #051B04 #0F4A0B #1A7F13 #25B51B

Accessibility & contrast

On white

10.48
#0F4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0F4A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A0B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A0B#FFFFFF#000000##FFFFFF
##0F4A0B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4a0b;
/* rgb */ color: rgb(15, 74, 11);
/* oklch */ color: oklch(35.9% 0.110 142.2);
Tailwind
colors: {
  custom: {
    50: '#597d4f',
    500: '#0f4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a0b;
$custom-light: #597d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a0b",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 116.19,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35854,
    "c": 0.10962,
    "h": 142.2
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#0F4A0B
secondary
#802B86
accent
#37F1E5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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