#0F4818#0F4818

#0F4818 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.097 H 145.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#0F4818
RGBrgb(15, 72, 24)
HSLhsl(129, 66%, 17%)
HSVhsv(129, 79%, 28%)
CMYKcmyk(79.2%, 0%, 66.7%, 71.8%)
CIE-LABlab(26.16, -29.57, 23.21)
CIE-LCHlch(26.16, 37.59, 141.88°)
OKLaboklab(35.36% -0.0798 0.0547)
OKLCHoklch(35.36% 0.097 145.6)
XYZxyz(2.6791, 4.8019, 1.6497)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4818 #480F3F
analogous
#23480F #0F4818 #0F4835
triadic
#0F4818 #180F48 #48180F
tetradic
#0F4818 #0F2348 #480F3F #48350F
square
#0F4818 #0F2348 #480F3F #48350F
split-complementary
#0F4818 #350F48 #480F23
monochromatic
#051908 #051908 #0F4818 #1A7B29 #24AD3A

Accessibility & contrast

On white

10.71
#0F4818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F4818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4818
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4818#FFFFFF#000000##FFFFFF
##0F48181.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#433C1C
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4818;
/* rgb */ color: rgb(15, 72, 24);
/* oklch */ color: oklch(35.4% 0.097 145.6);
Tailwind
colors: {
  custom: {
    50: '#577c57',
    500: '#0f4818',
    950: '#000000',
  },
}
SCSS
$custom: #0f4818;
$custom-light: #577c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4818",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 129.474,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35364,
    "c": 0.09675,
    "h": 145.6
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#0F4818
secondary
#823075
accent
#3FCEE8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0F4818

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

Preview Lab → · Contrast checker → · Palette generator →

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