#0F4C0B#0F4C0B

#0F4C0B is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.112 H 142.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#0F4C0B
RGBrgb(15, 76, 11)
HSLhsl(116, 75%, 17%)
HSVhsv(116, 86%, 30%)
CMYKcmyk(80.3%, 0%, 85.5%, 70.2%)
CIE-LABlab(27.56, -32.56, 30.73)
CIE-LCHlch(27.56, 44.77, 136.66°)
OKLaboklab(36.48% -0.0886 0.0688)
OKLCHoklch(36.48% 0.112 142.2)
XYZxyz(2.8417, 5.2943, 1.1887)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C0B #480B4C
analogous
#304C0B #0F4C0B #0B4C28
triadic
#0F4C0B #0B0F4C #4C0B0F
tetradic
#0F4C0B #0B304C #480B4C #4C280B
square
#0F4C0B #0B304C #480B4C #4C280B
split-complementary
#0F4C0B #280B4C #4C0B30
monochromatic
#051B04 #051B04 #0F4C0B #1A8113 #24B71A

Accessibility & contrast

On white

10.20
#0F4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0F4C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C0B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C0B#FFFFFF#000000##FFFFFF
##0F4C0B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4c0b;
/* rgb */ color: rgb(15, 76, 11);
/* oklch */ color: oklch(36.5% 0.112 142.2);
Tailwind
colors: {
  custom: {
    50: '#597f50',
    500: '#0f4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c0b;
$custom-light: #597f50;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c0b",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 116.308,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36483,
    "c": 0.11217,
    "h": 142.2
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#0F4C0B
secondary
#822B88
accent
#36F1E6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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