#0F3A04#0F3A04

#0F3A04 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.093 H 140.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#0F3A04
RGBrgb(15, 58, 4)
HSLhsl(108, 87%, 12%)
HSVhsv(108, 93%, 23%)
CMYKcmyk(74.1%, 0%, 93.1%, 77.3%)
CIE-LABlab(20.58, -26.11, 26.49)
CIE-LCHlch(20.58, 37.19, 134.58°)
OKLaboklab(30.68% -0.0717 0.06)
OKLCHoklch(30.68% 0.093 140.1)
XYZxyz(1.7319, 3.1363, 0.6289)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A04 #2F043A
analogous
#2A3A04 #0F3A04 #043A14
triadic
#0F3A04 #040F3A #3A040F
tetradic
#0F3A04 #042A3A #2F043A #3A1404
square
#0F3A04 #042A3A #2F043A #3A1404
split-complementary
#0F3A04 #14043A #3A042A
monochromatic
#071D02 #071D02 #0F3A04 #1E7308 #2DAD0C

Accessibility & contrast

On white

12.91
#0F3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A04
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A04#FFFFFF#000000##FFFFFF
##0F3A041.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#083830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3a04;
/* rgb */ color: rgb(15, 58, 4);
/* oklch */ color: oklch(30.7% 0.093 140.1);
Tailwind
colors: {
  custom: {
    50: '#557149',
    500: '#0f3a04',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a04;
$custom-light: #557149;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a04",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 107.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.09344,
    "h": 140.1
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#0F3A04
secondary
#691E7C
accent
#2BFDD2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0F3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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