#0F4C0A#0F4C0A

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

Color values

HEX#0F4C0A
RGBrgb(15, 76, 10)
HSLhsl(115, 77%, 17%)
HSVhsv(115, 87%, 30%)
CMYKcmyk(80.3%, 0%, 86.8%, 70.2%)
CIE-LABlab(27.55, -32.64, 31.09)
CIE-LCHlch(27.55, 45.08, 136.39°)
OKLaboklab(36.48% -0.0889 0.0694)
OKLCHoklch(36.48% 0.113 142)
XYZxyz(2.8361, 5.2920, 1.1591)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C0A #470A4C
analogous
#304C0A #0F4C0A #0A4C26
triadic
#0F4C0A #0A0F4C #4C0A0F
tetradic
#0F4C0A #0A304C #470A4C #4C260A
square
#0F4C0A #0A304C #470A4C #4C260A
split-complementary
#0F4C0A #260A4C #4C0A30
monochromatic
#051B04 #051B04 #0F4C0A #1A8211 #24B818

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4C0A#FFFFFF#000000##FFFFFF
##0F4C0A1.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)
#473F12
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4c0a;
/* rgb */ color: rgb(15, 76, 10);
/* oklch */ color: oklch(36.5% 0.113 142.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f4f',
    500: '#0f4c0a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c0a;
$custom-light: #5a7f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c0a",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 115.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.11274,
    "h": 142
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#0F4C0A
secondary
#812989
accent
#35F3E5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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