#0F3C08#0F3C08

#0F3C08 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.4% C 0.093 H 141.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#0F3C08
RGBrgb(15, 60, 8)
HSLhsl(112, 76%, 13%)
HSVhsv(112, 87%, 24%)
CMYKcmyk(75%, 0%, 86.7%, 76.5%)
CIE-LABlab(21.40, -26.53, 25.75)
CIE-LCHlch(21.40, 36.98, 135.86°)
OKLaboklab(31.37% -0.0725 0.0583)
OKLCHoklch(31.37% 0.093 141.2)
XYZxyz(1.8566, 3.3506, 0.7786)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C08 #35083C
analogous
#293C08 #0F3C08 #083C1B
triadic
#0F3C08 #080F3C #3C080F
tetradic
#0F3C08 #08293C #35083C #3C1B08
square
#0F3C08 #08293C #35083C #3C1B08
split-complementary
#0F3C08 #1B083C #3C0829
monochromatic
#071B04 #071B04 #0F3C08 #1C720F #2AA816

Accessibility & contrast

On white

12.57
#0F3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0F3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C08
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C08#FFFFFF#000000##FFFFFF
##0F3C081.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3601
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#073A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3c08;
/* rgb */ color: rgb(15, 60, 8);
/* oklch */ color: oklch(31.4% 0.093 141.2);
Tailwind
colors: {
  custom: {
    50: '#55724c',
    500: '#0f3c08',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c08;
$custom-light: #55724c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c08",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 111.923,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31365,
    "c": 0.09303,
    "h": 141.2
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#0F3C08
secondary
#6F257B
accent
#35F3D9
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0F3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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