#0F4810#0F4810

#0F4810 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.104 H 143.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#0F4810
RGBrgb(15, 72, 16)
HSLhsl(121, 66%, 17%)
HSVhsv(121, 79%, 28%)
CMYKcmyk(79.2%, 0%, 77.8%, 71.8%)
CIE-LABlab(26.08, -30.57, 27.15)
CIE-LCHlch(26.08, 40.89, 138.40°)
OKLaboklab(35.27% -0.0829 0.0621)
OKLCHoklch(35.27% 0.104 143.2)
XYZxyz(2.6077, 4.7734, 1.2740)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4810 #480F47
analogous
#2B480F #0F4810 #0F482D
triadic
#0F4810 #100F48 #48100F
tetradic
#0F4810 #0F2B48 #480F47 #482D0F
square
#0F4810 #0F2B48 #480F47 #482D0F
split-complementary
#0F4810 #2D0F48 #480F2B
monochromatic
#051906 #051906 #0F4810 #1A7B1B #24AD27

Accessibility & contrast

On white

10.74
#0F4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0F4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4810
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4810#FFFFFF#000000##FFFFFF
##0F48101.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4008
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4810;
/* rgb */ color: rgb(15, 72, 16);
/* oklch */ color: oklch(35.3% 0.104 143.2);
Tailwind
colors: {
  custom: {
    50: '#587c52',
    500: '#0f4810',
    950: '#000000',
  },
}
SCSS
$custom: #0f4810;
$custom-light: #587c52;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4810",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 121.053,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35268,
    "c": 0.10358,
    "h": 143.2
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#0F4810
secondary
#823081
accent
#3FE6E8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0F4810

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

Preview Lab → · Contrast checker → · Palette generator →

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